-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated rules, but test for future ones
Upgrading `stylelint` to v15 deprecated a bunch of rules, which are intended to be handled by Prettier instead. This removes the style rules deprecated in that upgrade, alongside others which have changed. To try and catch when future rules are deprecated in upgrades, we add a test to see if the rule is listed as deprecated. Unfortunately, not all plugins follow the same method signature, so we need to check if `stylelint` knows about the rules before asserting on them. https://github.com/stylelint/stylelint/blob/main/docs/migration-guide/to-15.md https://github.com/stylelint/stylelint-config-standard/blob/main/__tests__/index.test.mjs
- Loading branch information
1 parent
abd1f45
commit 5e48f43
Showing
2 changed files
with
15 additions
and
57 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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