Update dependency stylelint to v13 #3734
Open
+1
−1
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.
This PR contains the following updates:
~9.6.0
->~13.13.0
Release Notes
stylelint/stylelint (stylelint)
v13.13.1
Compare Source
max-warnings
option (#5267).no-invalid-position-at-import-rule
false positives for dollar variables (#5264).v13.13.0
Compare Source
no-invalid-position-at-import-rule
rule (#5202).no-irregular-whitespace
rule (#5209).selector-disallowed-list
rule (#5239).selector-attribute-quotes
autofix (#5248).ignore: ["inside-function"]
todeclaration-property-unit-allowed-list
(#5194).color-no-hex
false positives for CSS-in-JS objection notation (#5186).font-family-no-missing-generic-family-keyword
false positives for variables (#5240).length-zero-no-unit
autofix removing trailing zeroes and comments (#5256).length-zero-no-unit
false positives for level 4 math functions (#5203).length-zero-no-unit
false positives for functions inside of math functions (#5245).v13.12.0
Compare Source
named-grid-areas-no-invalid
rule (#5167).ignore: ["single-declaration"]
todeclaration-block-trailing-semicolon
(#5165).*-no-unknown
false positives (#5158).selector-pseudo-class-no-unknown
false positives for:autofill
(#5171).v13.11.0
Compare Source
report*
configuration object properties (#5143).v13.10.0
Compare Source
ignoreDisables
,reportNeedlessDisables
,reportInvalidScopeDisables
andreportDescriptionlessDisables
configuration object properties (#5126).declaration-block-no-duplicate-custom-properties
rule (#5125).alpha-value-notation
false negatives for CSS Variables (#5130).v13.9.0
Compare Source
--report
options (#5079).color-hex-case
false negatives for css-in-js object notation (#5101).color-hex-length
false negatives for css-in-js object notation (#5106).selector-attribute-name-disallowed-list
false positives for valueless attribute selectors (#5060).v13.8.0
Compare Source
StylelintStandaloneReturnValue.reportedDisables
,.descriptionlessDisables
,.needlessDisables
, and.invalidScopeDisables
..reportedDisables
will always be empty and the other properties will always be undefined, since these errors now show up in.results
instead (#4973).comment-pattern
rule (#4962).selector-attribute-name-disallowed-list
rule (#4992).ignoreAtRules[]
toproperty-no-unknown
(#4965).*-notation
false negatives for dollar variables (#5031).*-pattern
missing configured pattern in problem messages (#4975).v13.7.2
Compare Source
v13.7.1
Compare Source
v13.7.0
Compare Source
*-blacklist
,*-requirelist
and*-whitelist
rules in favor of the new*-disallowed-list
,*-required-list
and*-allowed-list
ones (#4845):at-rule-blacklist
. Useat-rule-disallowed-list
instead.at-rule-property-requirelist
. Useat-rule-property-required-list
instead.at-rule-whitelist
. Useat-rule-allowed-list
instead.comment-word-blacklist
. Usecomment-word-disallowed-list
instead.declaration-property-unit-blacklist
. Usedeclaration-property-unit-disallowed-list
instead.declaration-property-unit-whitelist
. Usedeclaration-property-unit-allowed-list
instead.declaration-property-value-blacklist
. Usedeclaration-property-value-disallowed-list
instead.declaration-property-value-whitelist
. Usedeclaration-property-value-allowed-list
instead.function-blacklist
. Usefunction-disallowed-list
instead.function-url-scheme-blacklist
. Usefunction-url-scheme-disallowed-list
instead.function-url-scheme-whitelist
. Usefunction-url-scheme-allowed-list
instead.function-whitelist
. Usefunction-allowed-list
instead.media-feature-name-blacklist
. Usemedia-feature-name-disallowed-list
instead.media-feature-name-value-whitelist
. Usemedia-feature-name-value-allowed-list
instead.media-feature-name-whitelist
. Usemedia-feature-name-allowed-list
instead.property-blacklist
. Useproperty-disallowed-list
instead.property-whitelist
. Useproperty-allowed-list
instead.selector-attribute-operator-blacklist
. Useselector-attribute-operator-disallowed-list
instead.selector-attribute-operator-whitelist
. Useselector-attribute-operator-allowed-list
instead.selector-combinator-blacklist
. Useselector-combinator-disallowed-list
instead.selector-combinator-whitelist
. Useselector-combinator-allowed-list
instead.selector-pseudo-class-blacklist
. Useselector-pseudo-class-disallowed-list
instead.selector-pseudo-class-whitelist
. Useselector-pseudo-class-allowed-list
instead.selector-pseudo-element-blacklist
. Useselector-pseudo-element-disallowed-list
instead.selector-pseudo-element-whitelist
. Useselector-pseudo-element-allowed-list
instead.unit-blacklist
. Useunit-disallowed-list
instead.unit-whitelist
. Useunit-allowed-list
instead.customSyntax
option (#4839).*.cjs
config files (#4905).reportDescriptionlessDisables
flag (#4907).reportDisables
secondary option (#4897).*-no-vendor-prefix
autofix (#4859).ignoreComments[]
tocomment-empty-line-before
(#4841).ignoreContextFunctionalPseudoClasses
toselector-max-id
(#4835).selector-max-*
(exceptselector-max-type
) false negatives forwhere
,is
,nth-child
andnth-last-child
(#4842).length-zero-no-unit
TypeError for custom properties fallback (#4860).selector-combinator-space-after
false positives for trailing combinator (#4878).v13.6.1
Compare Source
max-empty-lines
TypeError from inline comment with autofix and sugarss syntax (#4821).property-no-unknown
false positives for namespaced variables (#4803).selector-type-no-unknown
false positives for idents within::part
pseudo-elements (#4828).v13.6.0
Compare Source
ignoreSelectors[]
toblock-opening-brace-space-before
(#4640).--report-invalid-scope-disables
(#4784).stderr
(#4799).package.json
'sengine
field (#4790).alpha-value-notation
number precision errors (#4802).font-family-no-missing-generic-family-keyword
false positives for variables (#4806).no-duplicate-selectors
false positives for universal selector anddisallowInList
(#4809).v13.5.0
Compare Source
alpha-value-notation
rule (#4770).color-function-notation
rule (#4760).hue-degree-notation
rule (#4769).v13.4.1
Compare Source
time-min-milliseconds
TypeError forignore: ["delay"]
and shorthand animation (#4783).v13.4.0
Compare Source
ignore:["delay"]
totime-min-milliseconds
(#4743).ignoreFunctions: []
tovalue-keyword-case
(#4733).--report-needless-disables
respects stylelint-disable commands (#4714).at-rule-property-requirelist
TypeError for comments inside of font-face (#4744).declaration-block-trailing-semicolon
false positives for CSS-in-JS object notation (#4749).declaration-empty-line-before
false positives for inlines styles (#4726).media-feature-name-*
false positives forforced-colors
(#4775).value-keyword-case
false positives WebExtension replacement keywords (#4778).value-keyword-case
false positives regression for mixed-case properties and theignoreProperties
option (#4748).v13.3.3
Compare Source
13.2.0
(#4705).v13.3.2
Compare Source
v13.3.1
Compare Source
v13.3.0
Compare Source
ignoreFontFamilies: []
tofont-family-no-missing-generic-family-keyword
(#4656).function-calc-no-invalid
false positives for SCSS and Less variables (#4659).unit-no-unknown
false positives forx
unit within vendor-prefixedimage-set
(#4654).v13.2.1
Compare Source
selector-pseudo-element-no-unknown
false positives for::part
pseudo-element (#4604).value-keyword-case
false positives for longhandgrid-column/row-*
properties (#4611).v13.2.0
Compare Source
postcss-selector-parser@6
due to a vulnerability in one ofpostcss-selector-parser@3
dependencies (#4595). Due to this update:selector-descendant-combinator-no-non-space
will ignore selectors containing commentsselector-pseudo-class-parentheses-space-inside
can't autofix pseudo-classes that contain comments--stdin
CLI flag that accepts stdin input even if it is empty (#4594).v13.1.0
Compare Source
media-feature-name-*
false negatives for range context (#4581).indentation
RangeError regression (#4572).string-quotes
attribute selector autofix (#4576).v13.0.0
Compare Source
globby
was updated to v10. Now only forward-slashes (/
) should be used as directory separator in globs. Refer to glob pattern syntax. Most of the users wouldn't need to change anything, but Windows users might need to update their globs. (#4254).unit-no-unknown
support forx
unit (#4427).--report-invalid-scope-disables
crash when no rules specified (#4498).media-feature-parentheses-space-inside
false negatives for multiple spaces (#4513).selector-type-no-unknown
false positives for SVG tags (#4495).unit-no-unknown
false positives for Sass map keys (#4450).value-list-comma-newline-after
false positives for shared-line comments (#4482).v12.0.1
Compare Source
string-no-newline
memory leak for ERB templates (#4491).v12.0.0
Compare Source
bower_components
folder by default (#4384).createRuleTester
API (#4385).comment-empty-line-before
false positives for selector lists and shared-line comments (#4360).font-family-no-missing-generic-family-keyword
false positives for Sass-variables with namespaces (#4378).font-weight-notation
false positives forfont-weight
ranges in@font-face
(#4372).length-zero-no-unit
false positives forline-height
, and forfr
units (#4394).length-zero-no-unit
false positives for Less variables (#4405).selector-max-*
false negatives for rules with nested rules (#4357).v11.1.1
Compare Source
--syntax css
(#4335).v11.1.0
Compare Source
css
syntax option (#4315).no-eol-whitespace
parsing problems for non-standard syntaxes (#4313).selector-pseudo-class-no-unknown
false positives for:is
selector (#4321).v11.0.0
Compare Source
--report-needless-disables
CLI flag now reports needless disables and runs linting (#4151).stylelintError
as a boolean (#4174).createRuleTester
API (#4279).--reportInvalidScopeDisables
CLI flag (#4181).unicode-bom
rule (#4225).max-empty-lines
autofix (#3667).selector-pseudo-element-case
autofix (#3672).selector-*
support for all logical combinations (:matches
,:has
) (#4179).ignore: ["selectors-within-list"]
tono-descending-specificity
(#4176).ignoreSelectors: []
toproperty-no-unknown
(#4275).*-max-empty-lines
to only report one problem per function, selector, value list (#4260).block-no-empty
crash for@import
statements (#4110).indentation
false positives for<style>
tag with multiline attributes (#4177).length-zero-no-unit
false positives for inside calc function (#4175).max-line-length
false positives for multi-lineurl()
(#4169).no-duplicate-selectors
false positives for selectors in the same selector list (#4173).no-unit-unknown
false positives for at-variables (Less) starting with numbers (#4163).property-no-unknown
foroverflowX
for CSS-in-JS (#4184).v10.1.0
Compare Source
selector-max-empty-lines
autofix (#3717).--report-needless-disables
output (#4071).--output-file
CLI flag (#4085).function-calc-no-invalid
false positives for interpolation (#4046).declaration-block-semicolon-space-before
autofix with!important
annotations (#4016).no-eol-whitespace
autofix for within comments (#4224).no-eol-whitespace
false negatives for last line without trailing EOL (#4224).selector-pseudo-class-no-unknown
false positives fordefined
(#4081).v10.0.1
Compare Source
--allow-empty-input
CLI flag (#4029).color-no-invalid-hex
false positives for hashes in URLs (#4035).function-linear-gradient-no-nonstandard-direction
false positives for dollar variables (#4027).v10.0.0
Compare Source
styled
andjsx
syntax options that were replaced withcss-in-js
in v9.10.0 (#4007).--allow-empty-input
flag for the old behavior (#3965).lib/rules/index.js
(#3923).at-rule-property-requirelist
rule (#3997).disallowInList
tono-duplicate-selectors
(#3936).ignore: ["comments"]
toblock-no-empty
(#4008).color-no-invalid-hex
false negatives for CSS-in-JS (#3957).feature-name-no-unknown
false positives forprefers-color-scheme
(#3951).function-calc-no-invalid
false positives for negative numbers (#3921).no-descending-specificity
false positives for vendor prefixed pseudo-elements (#3929).selector-max-*
false negatives for nested at-rules (#3959).selector-max-universal
are now evaluated separately (#4263).value-keyword-case
autofix for single-line comments within maps (#4019).v9.10.1
Compare Source
v9.10.0
Compare Source
css-in-js
syntax option that will replace the existingstyled
andjsx
ones (#3872).function-calc-no-invalid
rule (#3833).ignore: ["next-sibling"]
toselector-max-type
(#3832).declaration-block-semicolon-space-after
autofix (#3865).CssSyntaxError
for functions in template literals (#3869).no-descending-specificity
false positives for styled-components (#3875).no-duplicate-selectors
false positives for styled-components (#3875).selector-pseudo-class-no-unknown
false positives forfocus-visible
(#3887).selector-max-universal
false positives for flush comments containing a comma (#3817).shorthand-property-redundant-values
false positives for negative values (#3888).v9.9.0
Compare Source
selector-list-comma-newline-after
autofix (#3815).value-list-max-empty-lines
autofix (#3814).ignoreSelectors: []
toselector-no-vendor-prefix
(#3748).&:extend
for Less syntax (#3824).--report-needless-disables
CLI flag (#3819).font-family-no-missing-generic-family-keyword
false positives for system fonts (#3794).v9.8.0
Compare Source
value-keyword-case
autofix (#3775).ignore: ["pseudo-classes"]
tomax-nesting-depth
(#3724).ignoreTypes:[]
toselector-type-case
(#3758).ignoreFunctions:[]
tounit-no-unknown
(#3736).at-rule-*
false positives for Less variables and mixins (#3767).max-empty-lines
false positives for final newlines (#3785).v9.7.1
Compare Source
at-rule-*
false positives for Less variables and mixins (#3759).v9.7.0
Compare Source
media-feature-parentheses-space-inside
autofix (#3720).selector-descendant-combinator-no-non-space
autofix (#3565).unit-case
autofix (#3725).max-empty-lines
false positives for empty lines before</style>
(#3708).selector-max-specificity
false positives for functional pseudo-classes (#3711).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.