Deprecate integrated Prettier support - #1849
Merged
Merged
Conversation
Add deprecation warning for `@pplancq/stylelint-config/prettier` in README and code. Encourage users to switch to `@pplancq/stylelint-config` and run Prettier separately.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Type of Pull Request:
Associated Issue:
Related to #1848
Context:
This PR prepares the separation of formatting responsibilities described in issue #1848. Prettier should run independently from ESLint and Stylelint so that those tools focus on code quality and avoid unnecessary formatting work. This is the non-breaking deprecation phase; the actual removal will be handled separately.
Proposed Changes:
enablePrettier: "on"option in@pplancq/eslint-configand emit a warning when it is used.eslint-config-prettierto disable conflicting formatting rules.eslint-config-prettierinstead of the integrated Prettier ESLint plugin where appropriate.lint-stagedconfiguration to run Prettier independently.Checklist:
Additional Information:
This PR is intentionally non-breaking and does not close issue #1848. It represents the first deprecation phase only; removal of the deprecated Prettier integrations and the related major-version changes should be addressed in a subsequent PR.