Update stylelint to the latest version 🚀 #268
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 8.0.0 of stylelint just got published.
The version 8.0.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
8.0.0This release is accompanied by:
~
) inpackage.json
is now recommended, e.g."stylelint": "~8.0.0"
, to guarantee the results of your builds (#1865).stylelint-config-recommended
. This config only turns on the possible error rules.stylelint-config-standard
now builds on top of the recommended config by turning on over 60 additional stylistic rules.Changes:
7.8.0
&7.12.0
(#2422 & #2693).block-no-single-line
.custom-property-no-outside-root
declaration-block-no-ignored-properties
.declaration-block-properties-order
.function-url-data-uris
.media-feature-no-missing-punctuation
.no-browser-hacks
.no-indistinguishable-colors
.no-unsupported-browser-features
.root-no-standard-properties
rule-nested-empty-line-before
.rule-non-nested-empty-line-before
.selector-no-attribute
.selector-no-combinator
.selector-no-empty
.selector-no-id
.selector-no-type
.selector-no-universal
.selector-root-no-composition
.stylelint-disable-reason
.time-no-imperceptible
.7.8.0
(#2433)."all-nested"
option forat-rule-empty-line-before
."blockless-group"
option forat-rule-empty-line-before
."between-comments"
option forcomment-empty-line-before
."at-rules-without-declaration-blocks"
option formax-nesting-depth
.postcss
from@5
to@6
(#2561).report-needless-disables
now exits with non-zero code (#2341).*-blacklist
and*-whitelist
(andignore* []
secondary options) are now case sensitive. Use regular expressions with thei
flag for case insensitivity (#2709).*-empty-line-before
now correctly handle shared-line comments (#2262).*-empty-line-before
now consider line as empty if it contains whitespace only (#2440).function-linear-gradient-no-nonstandard-direction
now checks all linear-gradients in a value list (#2496).selector-max-compound-selectors
now checks all resolved selectors, rather than just the deepest (#2350).disableDefaultIgnores
option (--disable-default-ignores
in CLI), to allow linting ofnode_modules
andbower_components
directories (#2464)..stylelintignore
(#2464).ignore: ["child"]
option toselector-max-type
(#2701).declaration-block-no-redundant-longhand-properties
anddeclaration-block-no-shorthand-property-overrides
understand more shorthand properties (#2354).selector-max-type
no longer produces false negatives for when child, next-sibling and following-sibling combinators are used withignore: ["descendant"]
(#2701).Commits
The new version differs by 14 commits.
c82cff2
Prepare 8.0.0
9085ee8
chore(package): update flow-bin to version 0.50.0 (#2740)
b8804ae
Revert jest lint staged (#2752)
825117b
chore: Update
pify
to3.0.0
(#2751)69b380d
chore: Update
balance-match
to1.0.0
(#2750)221bca5
chore: Add Jest to lint-staged to run Jest against staged files ready for commit (#2749)
fca6610
chore: Update all npm minor and patch module versions. (#2745)
0498671
Use latest npm (#2743)
057cd59
Use prettier (#2706)
831eb8f
Document rules that ignore @import in Less (#2741)
f6fbad3
Pretty-print code (#2742)
be558d4
8.0.0 (#2735)
afdff28
remove LESS support experimental disclaimer (#2739)
8abafb8
Docs: keyframe-declaration-no-important (#2730)
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 🌴