-
-
Notifications
You must be signed in to change notification settings - Fork 934
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove 76 rules deprecated in 15.0.0 (#6979)
I'll quickly explain the methodology for this PR: 1. remove each `lib/rules/*` for each deprecated test 2. remove each (now invalid) path from `lib/rules/index.js` 3. fix all broken tests, which fall into one of several categories: - tests that use a deprecated rule as an arbitrary rule; to resolve this, I just picked a different rule (usually `color-named` for `color-hex-case` and `number-max-precision` for `indentation`) - one of these is about a custom plugin, so I've rewritten the plugin - tests that are *about* deprecated rules; I added a `.skip` (have left comments in the review) - fs tests that use deprecated rules; I removed these from the config, then updated the snapshot. - the zen garden one doesn't work "out of the box" anymore, i.e. the snapshot has nontrivially changed because of indentation/spacing rules - `indentation`-specific behaviour (it being last); I deleted these! 4. remove all documentation related to removed rules (mostly `indentation`) 5. remove all unused utilities (via code coverage, not manual inspection)
- Loading branch information
1 parent
69c6754
commit da0215d
Showing
291 changed files
with
521 additions
and
60,082 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"stylelint": major | ||
--- | ||
|
||
Removed: 76 rules deprecated in 15.0.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Migrating to 16.0.0 | ||
|
||
This release contains breaking changes. | ||
|
||
## Removed deprecated stylistic rules | ||
|
||
We've removed the stylistic rules we deprecated in 15.0.0. See the [15.0.0 migration guide](./to-15.md) for details on how to migrate. |
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
Oops, something went wrong.