Skip to content

Configure Stylelint to report needless disables#8504

Merged
aduth merged 1 commit intomainfrom
aduth-stylelint-report-needless
May 30, 2023
Merged

Configure Stylelint to report needless disables#8504
aduth merged 1 commit intomainfrom
aduth-stylelint-report-needless

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented May 30, 2023

🛠 Summary of changes

Updates Stylelint configuration to report needless inline configuration for disabling rules, to avoid misleading developers with ineffective configuration.

I considered adding this to the @18f/identity-stylelint-config common configuration, but since it's a breaking change, it'd be best to wait to group it with some other breaking change for the package.

📜 Testing Plan

  1. yarn lint:css passes.

changelog: Internal, Static Analysis, Improve stylesheet linting to report unnecessary inline configuration
@aduth aduth merged commit 22f4ab7 into main May 30, 2023
@aduth aduth deleted the aduth-stylelint-report-needless branch May 30, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants