Update stylelint to the latest version 🚀 #1215
Merged
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.
Version 7.11.0 of stylelint just got published.
The version 7.11.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of stylelint.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
7.11.0--fix
CLI parameter orfix: true
Node API options property. Supported rules:at-rule-empty-line-before
at-rule-name-case
color-hex-case
comment-empty-line-before
custom-property-empty-line-before
declaration-empty-line-before
indentation
rule-empty-line-before
selector-max-class
rule.ignore: ["custom-elements"]
option toselector-type-no-unknown
(#2366).cache
enabled (#2494).:extend
is now ignored (#2571).function-parentheses-space-inside
now ignores functions without parameters (#2587).length-zero-no-unit
now correctly handles newlines and no spaces after colon (#2477).selector-descendant-combinator-no-non-space
andselector-combinator-space-before/after
now understand and check>>>
shadow-piercing combinator (#2509).selector-descendant-combinator-no-non-space
now ignores Less guards (#2557).selector-pseudo-class-no-unknown
now checks@page
at-rules and supports@page
pseudo-classes (#2445).selector-pseudo-class-no-unknown
now considersfocus-ring
,playing
andpaused
to be known (#2507).selector-type-no-unknown
now ignores MathML tags (#2478).selector-type-no-unknown
now ignores the/deep/
shadow-piercing combinator (#2508).value-keyword-case
now ignores variables with signs (#2558).Commits
The new version differs by 83 commits.
8466d17
Prepare 7.11.0
9cd35c0
Prepare changelog
534c29d
Update CHANGELOG.md
aee270e
Move pify from devDependencies to dependencies
e1700b4
fix(package): update known-css-properties to version 0.2.0
7f48674
Update CHANGELOG.md
d1c1b13
Add autofixing for color-hex-case (#2577)
f0e0780
Create CHANGELOG.md
de74769
Add indentation autofixing for selectors, at-rules params, and declarations
79a1ff4
Add docs
d09da33
Add indentation autofixing for most usecases
074d9f8
Refactor old code
67b8f50
Update CHANGELOG.md
5796ac4
Fixed: ignore less guards in
selector-descendant-combinator-no-non-space
. (#2557)b86fc18
Stylelint pre-commit plugin (#2591)
There are 83 commits in total.
See the full diff
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴