-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
[Tool] stylelint config/packages/stylelint-config/packages/stylelint-config[Type] Code QualityIssues or PRs that relate to code qualityIssues or PRs that relate to code quality
Description
Description
The more the Stylelint rules get extended, the more the need for a more flexible configuration that allows, for example, to print custom warning or error messages for each custom rule.
Quoting insightful feedback from @mirka on #63048 (comment):
we'll probably want to convert the
.stylelintrc.jsonto a.stylelintrc.jsat this point, so we can configure themessageas a function to show different warning messages for each violation. It looks like we'll also need to update ourstylelintdependency to achieve that. Our repo is at stylelint 14.2, whereas the feature we need is available from 14.5.0.
Step-by-step reproduction instructions
N/A
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Metadata
Metadata
Assignees
Labels
[Tool] stylelint config/packages/stylelint-config/packages/stylelint-config[Type] Code QualityIssues or PRs that relate to code qualityIssues or PRs that relate to code quality