chore(deps): update dependency stylelint to v16 #126
+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:
^13.13->^16.0.0Release Notes
stylelint/stylelint (stylelint)
v16.23.0Compare Source
It adds 5 new rules, 1 option to a rule and fixes 3 bugs. We've turned on the new rules in our standard config.
block-no-redundant-nested-style-rulesrule (#8684) (@sw1tch3roo).media-type-no-deprecatedrule (#8668) (@immitsu).nesting-selector-no-missing-scoping-rootrule (#8674) (@sw1tch3roo).no-invalid-position-declarationrule (#8669) (@sw1tch3roo).property-no-deprecatedrule (#8682) (@immitsu).except: ["exact-value"]tomedia-feature-range-notation(#8675) (@immitsu).declaration-block-no-duplicate-propertiesfalse negatives for named colors withignore: ['consecutive-duplicates-with-different-syntaxes'](#8665) (@sw1tch3roo).function-no-unknownfalse positives (#8677) (@Mouvedia).no-irregular-whitespacefalse positives for strings (#8667) (@immitsu).v16.22.0Compare Source
It adds 3 rule features and fixes 2 bugs.
messageArgstocolor-named(#8663) (@Mouvedia).messageArgstodeclaration-property-value-keyword-no-deprecated(#8654) (@Mouvedia).no-descending-specificityreport message includes line number of the anchoring selector (#8666) (@immitsu).at-rule-no-deprecatedfalse positives for@apply(#8630) (@Mouvedia).lightness-notationcrash with"number"option and single-digit percentage (#8661) (@ybiquitous).v16.21.1Compare Source
It fixes 3 bugs.
EditInfo(#8638) (@romainmenke).function-linear-gradient-no-nonstandard-directionfalse positives for CSS variables' names containing a direction substring (#8643) (@Solomon-mithra).media-feature-range-notationautofix for exact values (#8651) (@romainmenke).v16.21.0Compare Source
It rounds out the
messagesecondary option and marks it as stable, adds 1 new option to a rule, and fixes 4 bugs.messagesecondary option (#8595) (@ybiquitous).ignore: ["after-custom-property"]tocustom-property-empty-line-before(#8627) (@imkesin).cacheconfiguration property not being respected (#8599) (@ybiquitous).fastest-levenshteinimport when bundling (#8621) (@onigoetz).named-grid-areas-no-invalidfalse positives for interpolated grid-template-areas in CSS-in-JS (#8606) (@shahana308).selector-pseudo-*-no-unknownfalse positives for the missing form control styling selectors (#8623) (@tyrann0us).v16.20.0Compare Source
It fixes 2 bugs with the built-in rules.
function-url-no-scheme-relativefalse negatives for@import(#8576) (@pamelalozano16).shorthand-property-no-redundant-valuesfalse negatives for additional radius (#8539) (@ryo-manba).v16.19.1Compare Source
It fixes 1 bug with the
no-empty-sourcerule.no-empty-sourcefalse positives for non-standard syntaxes (#8548) (@ybiquitous).v16.19.0Compare Source
It adds 2 options to 2 rules and fixes 3 bugs.
exceptWithoutPropertyFallback: []tofunction-allowed-list(#8488) (@ryo-manba).ignore: ["four-into-three-edge-values"]toshorthand-property-no-redundant-values(#8527) (@ryo-manba).compactformatter with pnpm to newline the exit code (#8534) (@konomae).declaration-property-value-no-unknownrange and message for invalid syntax within known functions (#8528) (@ryo-manba).no-empty-sourcefalse positives for--report-needless-disables(#8536) (@romainmenke).v16.18.0Compare Source
It adds 2 new rules and fixes 2 bugs. We've turned on these rules, and the
syntax-string-no-invalidandlayer-name-patternones from recent releases, in our standard config.color-function-alias-notationrule (#8499) (@EduardAkhmetshin).container-name-patternrule (#8498) (@nate10j).declaration-property-value-no-unknownfalse positives formathoffont-size(#8495) (@otomad).font-family-no-missing-generic-family-keywordfalse positives formath(#8489) (@otomad).v16.17.0Compare Source
It adds 1 new rule, support for
languageOptionsto 2 rules, 1 option to a rule, the--compute-edit-infoCLI flag (along with support forEditInfoin 3 rules), and fixes 1 bug.EditInfois useful for automated fixing tools and editor integrations.layer-name-patternrule (#8474) (@ryo-manba).--compute-edit-infoCLI flag (#8473) (@ryo-manba).ignorePreludeOfAtRules: []tolength-zero-no-unit(#8472) (@ryo-manba).at-rule-no-unknownsupport forlanguageOptions(#8475) (@ryo-manba).property-no-unknownsupport forlanguageOptions(#8476) (@ryo-manba).declaration-block-no-redundant-longhand-propertiessupport for computingEditInfo(#8482) (@pamelalozano16).function-url-quotessupport for computingEditInfo(#8483) (@pamelalozano16).selector-attribute-quotessupport for computingEditInfo(#8484) (@pamelalozano16).custom-property-patternfalse negatives for@propertypreludes (#8468) (@rohitgs28).v16.16.0Compare Source
It adds support for computing
EditInfoto 22 more rules and reverts a change that addedcontext.lexerto our public API in the previous release.at-rule-empty-line-beforesupport for computingEditInfo(#8425) (@pamelalozano16).at-rule-no-deprecatedsupport for computingEditInfo(#8426) (@pamelalozano16).at-rule-no-vendor-prefixsupport for computingEditInfo(#8427) (@pamelalozano16).color-function-notationsupport for computingEditInfo(#8437) (@pamelalozano16).declaration-empty-line-beforesupport for computingEditInfo(#8443) (@pamelalozano16).declaration-property-value-keyword-no-deprecatedsupport for computingEditInfo. (#8439) (@pamelalozano16).font-family-name-quotessupport for computingEditInfo(#8419) (@ryo-manba).font-weight-notationsupport for computingEditInfo(#8420) (@ryo-manba).function-calc-no-unspaced-operatorsupport for computingEditInfo(#8440) (@pamelalozano16).function-name-casesupport for support for computingEditInfo." (#8442) (@pamelalozano16).hue-degree-notationsupport for computingEditInfo(#8444) (@pamelalozano16).import-notationsupport for computingEditInfo. (#8445) (@pamelalozano16).keyframe-selector-notationsupport for computingEditInfo(#8457) (@pamelalozano16).length-zero-no-unitsupport for computingEditInfo(#8459) (@pamelalozano16).lightness-notationsupport for computingEditInfo(#8458) (@pamelalozano16).media-feature-name-no-vendor-prefixsupport for computingEditInfo(#8456) (@pamelalozano16).media-feature-range-notationsupport for computingEditInfo(#8455) (@pamelalozano16).property-no-vendor-prefixsupport for computingEditInfo(#8461) (@pamelalozano16).rule-empty-line-beforesupport for computingEditInfo(#8460) (@pamelalozano16).selector-no-vendor-prefixsupport forEditInfo(#8462) (@pamelalozano16).selector-not-notationsupport for computingEditInfo(#8463) (@pamelalozano16).selector-pseudo-element-colon-notationsupport forEditInfo(#8464) (@pamelalozano16).selector-type-casesupport for computingEditInfo(#8467) (@pamelalozano16).shorthand-property-no-redundant-valuessupport for computingEditInfo(#8466) (@pamelalozano16).value-keyword-casesupport for computingEditInfo(#8469) (@pamelalozano16).value-no-vendor-prefixsupport for computingEditInfo(#8470) (@pamelalozano16).Could not find a declaration file for module 'css-tree'type error (#8452) (@danielrentz).v16.15.0Compare Source
It adds 1 new rule, a
languageOptionsconfiguration property for configuring some of the new rules added in16.13.0, regex support to 1 option and support for computingEditInfoto 6 rules. It fixes 9 bugs, including 2 with thetapreporter.syntax-string-no-invalidrule (#8331) (@ryo-manba).languageOptionsconfiguration property (#8297) (@ryo-manba).ignoreAtRulesoption ofat-rule-empty-line-before(#8385) (@ryo-manba).alpha-value-notationsupport for computingEditInfo(#8369) (@pamelalozano16).color-hex-lengthsupport for computingEditInfo(#8415) (@ryo-manba).comment-empty-line-beforesupport for computingEditInfo(#8416) (@ryo-manba).comment-whitespace-insidesupport for computingEditInfo(#8417) (@ryo-manba).custom-property-empty-line-beforesupport for computingEditInfo(#8418) (@ryo-manba).declaration-block-no-duplicate-propertiessupport for computingEditInfo(#8363) (@romainmenke).tapformatter not escaping#and\in its test point descriptions (#8334) (@Mouvedia).tapformatter outputting invalid YAML blocks for rules containing double quotes in their warnings' messages (#8334) (@Mouvedia).declaration-block-no-redundant-longhand-propertiesfalse positives for properties with!important(#8366) (@immitsu).EditInfomissing semicolon intextfield (#8370) (@pamelalozano16).declaration-property-value-keyword-no-deprecatedfalse negatives fortext-decoration: blink(#8351) (@Mouvedia).declaration-property-value-keyword-no-deprecatedfalse positives for styled components interpolated functions (#8392) (@Mouvedia).font-family-name-quotesfalse positives due to vendor-prefixed font-size values (#8393) (@Mouvedia).font-family-no-missing-generic-family-keywordfalse positives formath,emojiandfangsong(#8395) (@ViachaslauIhnatsiuk).selector-type-no-unknownfalse positives forselectmenuandpopup(#8376) (@Mouvedia).v16.14.1Compare Source
It fixes a bug with caching.
v16.14.0Compare Source
It fixes 8 bugs and adds features to our
Warningtype.Warningtype (#8234) (@romainmenke).SyntaxError: The requested module 'table'...(#8325) (@denisx).RuleContext['fix']type (#8309) (@Mouvedia).declaration-property-value-keyword-no-deprecatedautofix ofborder-colorandoverflow(#8346) (@Mouvedia).declaration-property-value-keyword-no-deprecatedfalse negatives foroverflow-xandoverflow-y(#8340) (@Mouvedia).declaration-property-value-keyword-no-deprecatedfalse negatives forscrollbar-color(#8346) (@Mouvedia).declaration-property-value-keyword-no-deprecatedfalse positives for non-standard syntax values (#8329) (@Mouvedia).declaration-property-value-keyword-no-deprecatedwarning message foroverflow: <keyword> <keyword>(#8340) (@Mouvedia).selector-pseudo-class-no-unknownfalse positives for:has-slotted(#8332) (@Mouvedia).v16.13.2Compare Source
It fixes a regression bug with
--fix.--fixCLI flag raising unknown value error (#8313) (@ybiquitous).v16.13.1Compare Source
It fixes one bug due to an upstream change in our
ignoredependency.ignore.default is not a function(#8305) (@romainmenke).v16.13.0Compare Source
It adds 3 rules to help you write error-free at-rules and 2 rules to warn you about deprecated CSS features. We've turned these rules on in our standard config.
It also adds new rule options, a feature to display how long rules take, lax autofix and support for
messageArgsin more rules. It fixes 7 bugs.Lastly, we've made a deprecation that may affect some plugins. We've updated our docs for plugin authors and end users on how to silence deprecation warnings.
utils.report()(#8244) (@romainmenke).lax/strictvalues to thefixNode.js API option and CLI flag (#8106) (@ryo-manba).TIMINGenvironment variable (#8108) (@ryo-manba).at-rule-descriptor-no-unknownrule (#8197) (@ryo-manba).at-rule-descriptor-value-no-unknownrule (#8211) (@ryo-manba).at-rule-no-deprecatedrule (#8251) (@jeddy3).at-rule-prelude-no-invalidrule (#8268) (@ryo-manba).declaration-property-value-keyword-no-deprecatedrule (#8223) (@Mouvedia)."ignore": ["at-rule-preludes", "declaration-values"]tostring-no-newline(#8214) (@ryo-manba).messageArgstodeclaration-property-value-no-unknown,font-family-name-quotes,font-family-no-duplicate-names,function-calc-no-unspaced-operator,import-notation,media-feature-name-unit-allowed-list,selector-attribute-quotesandselector-pseudo-element-colon-notation(#8285 & #8252) (@Mouvedia).*-no-vendor-prefixmessage ambiguity (#8239) (@Mouvedia).at-rule-(dis)allowed-list,at-rule-no-vendor-prefix,at-rule-property-required-listmessage argument (#8277) (@Mouvedia).at-rule-property-required-listmessage for inclusion of properties and descriptors (#8207) (@jeddy3).at-rule-*false positives and negatives for@charsetrule (#8215) (@jeddy3).declaration-property-value-no-unknownfalse positives for descriptors (#8240) (@jeddy3).property-(dis)allowed-listfalse negatives for custom properties, use/^--/to (dis)allow them (#8209) (@fbasmaison-lucca).property-no-unknownfalse positives for descriptors (#8203) (@jeddy3).selector-pseudo-class-no-unknownfalse positives for deprecated pseudo-classes (#8264) (@Mouvedia).selector-type-casefalse positives forhatchPath(#8264) (@Mouvedia).selector-type-no-unknownfalse positives forshadow,hatchandhatchpath(#8264) (@Mouvedia).v16.12.0Compare Source
selector-pseudo-class-allowed-listnow checks@pagepseudo-classes (#8176) (@Mouvedia).selector-pseudo-class-disallowed-listnow checks@pagepseudo-classes (#8171) (@Mouvedia).at-rule-property-required-listmessage to use "descriptor" for accuracy (#8186) (@ybiquitous).custom-property-no-missing-var-functionfalse positives forcontainer-name(#8157) (@Mouvedia).custom-property-no-missing-var-functionfalse positives for custom properties passed torunning()(#8172) (@Mouvedia).function-no-unknownfalse positives forrunning()(#8172) (@Mouvedia).selector-pseudo-class-no-unknownfalse positives for:open(#8184) (@lukewarlow).selector-pseudo-class-no-unknownfalse positives for:recto,:versoand:nth()(#8170) (@Mouvedia).selector-pseudo-class-no-unknownfalse positives for somemoz-*vendor-prefixed pseudo-classes (#8188) (@Mouvedia).selector-pseudo-element-no-unknownfalse positives for::details-content(#8174) (@lukewarlow).selector-type-no-unknownfalse positives for idents in functional pseudo-classes (#8191) (@elskhn).value-keyword-casefalse negatives (#8158) (@Mouvedia).value-keyword-casefalse positives for vendor-prefixed system colors (#8146) (@Mouvedia).v16.11.0Compare Source
--report-unscoped-disablesCLI flag andreportUnscopedDisablesoption to Node.js API and configuration object (#8024) (@Mouvedia).ignoreFunctions: []tomedia-query-no-invalid(#8060) (@ryo-manba).nameconfiguration property underoverrides(#8095) (@ryo-manba).benchmark-rulescript to resolveTypeError(#8090) (@ybiquitous).githubformatter deprecation warning link tohttps://stylelint.io/awesome-stylelint#formatters(#8115) (@ryo-manba).function-calc-no-unspaced-operatorfalse negatives forcalc-size(#8026) (@azat-io).max-nesting-depthfalse positives when the&selector is being ignored (#8048) (@ryo-manba).media-feature-name-value-no-unknownfalse positives fordisplay-mode: picture-in-picture(#8136) (@Mouvedia).no-irregular-whitespacereported ranges (#8066) (@romainmenke).selector-attribute-name-disallowed-listreported ranges (#8037) (@ryo-manba).selector-attribute-operator-allowed-listreported ranges (#8038) (@ryo-manba).selector-attribute-operator-disallowed-listreported ranges (#8039) (@ryo-manba).selector-class-patternreported ranges (#8042) (@ryo-manba).selector-combinator-allowed-listreported ranges (#8046) (@ryo-manba).selector-combinator-disallowed-listreported ranges (#8047) (@ryo-manba).selector-disallowed-listreported ranges (#8067) (@ryo-manba).selector-id-patternreported ranges (#8045) (@ryo-manba).selector-max-attributereported ranges (#8052) (@ryo-manba).selector-max-classreported ranges (#8053) (@ryo-manba).selector-max-combinatorsreported-ranges (#8055) (@ryo-manba).selector-max-compound-selectorsreported ranges (#8056) (@ryo-manba).selector-max-idreported ranges (#8054) (@ryo-manba).selector-max-pseudo-classreported ranges (#8057) (@ryo-manba).selector-max-specificityreported ranges (#8058) (@ryo-manba).selector-max-universalreported ranges (#8059) (@ryo-manba).selector-nested-patternreported ranges (#8072) (@ryo-manba).selector-no-vendor-prefixreported ranges (#8073) (@ryo-manba).selector-not-notationreported ranges (#8074) (@ryo-manba).selector-pseudo-class-allowed-listreported ranges (#8061) (@ryo-manba).selector-pseudo-class-disallowed-listreported ranges (#8062) (@ryo-manba).selector-pseudo-class-no-unknownreported ranges (#8063) (@ryo-manba).selector-pseudo-element-allowed-listreported ranges (#8068) (@ryo-manba).selector-pseudo-element-colon-notationreported ranges (#8069) (@ryo-manba).selector-pseudo-element-disallowed-listreported ranges (#8070) (@ryo-manba).selector-pseudo-element-no-unknownfalse positives for::scroll-markerand::scroll-marker-group(#8110) (@Mouvedia).selector-pseudo-element-no-unknownreported ranges (#8071) (@ryo-manba).selector-type-no-unknownreported ranges (#8076) (@ryo-manba).v16.10.0Compare Source
shorthand-property-no-redundant-valuesreported ranges (#8008) (@Mouvedia).formatterconfiguration property (#7826) (@emmacharp).validateoption to Node.js API and--validateCLI flag (#8009) (@Mouvedia).verboseformatter (#7985) (@Mouvedia).string | RegExptoignoreValuesoption ofvalue-no-vendor-prefix(#7969) (@Mouvedia).stringtoignoreLonghandsoption ofdeclaration-block-no-redundant-longhand-properties(#7971) (@Mouvedia).at-rule-no-unknownfalse positives for@position-try(#7968) (@yelizsevinc).declaration-block-no-redundant-longhand-propertiesautofix forgrid-column/grid-row(#8023) (@ryo-manba).declaration-property-value-no-unknownfalse negatives/positives via[email protected](#7993) (@Mouvedia).declaration-property-value-no-unknownreported ranges and message (#8003) (@romainmenke).keyframe-selector-notationreported ranges (#7992) (@romainmenke).length-zero-no-unitfalse positives for Sass variables (#8035) (@ryo-manba).no-descending-specificityreported ranges (#7996) (@romainmenke).selector-anb-no-unmatchablereported ranges and message (#8001) (@romainmenke).stringformatter handling of log symbols for non-Unicode terminals (#7981) (@Mouvedia)..cjsfiles to address Rollup vulnerability (#8010) (@ybiquitous).configoption for Node.js API withextendsandoverrides(#8030) (@ybiquitous).declaration-property-max-values,declaration-property-value-no-unknownandnumber-max-precision(#7975) (@Mouvedia).v16.9.0Compare Source
secondaryOptionsargument type of theRulefunction (#7950) (@Mouvedia).color-function-notationreporting functions with less than 3 arguments (#7948) (@Mouvedia).declaration-property-value-no-unknownfalse positives/negatives (#7944 & #7957 & #7956) (@Mouvedia & @sidverma32).overflow,word-break,widthanchor-name,field-sizing,text-box-edge,text-box-trim,text-spacing-trim,text-wrap,text-wrap-mode,text-wrap-style,view-timeline,view-timeline-axis,view-timeline-inset,view-timeline-name,view-transition-namekeyframe-block-no-duplicate-selectors/keyframe-declaration-no-important/keyframe-selector-notation/no-unknown-animationsfalse negatives for@-o-keyframesand@-ms-keyframes(#7953) (@Mouvedia).no-duplicate-selectorsreported ranges (#7938) (@romainmenke).property-no-vendor-prefixreport for-webkit-background-size(#7940) (@Mouvedia).selector-class-patternreported ranges (#7959) (@Mouvedia).selector-no-qualifying-typereported ranges (#7937) (@romainmenke).--no-deprecationflag for rule deprecation warnings (#7943) (@Mouvedia).v16.8.2Compare Source
context.fixusage in favour of recommending to pass afixcallback toreport()(#7895) (@Mouvedia).githubformatter (#7909) (@Mouvedia).custom-property-no-missing-var-functionfalse positives forview-transition-name(#7914) (@Mouvedia).keyframe-block-no-duplicate-selectorsreported ranges (#7932) (@romainmenke).no-invalid-double-slash-commentsreported ranges (#7907 & #7905) (@Mouvedia & @romainmenke).selector-max-typereported ranges (#7916) (@romainmenke).selector-type-no-unknownfalse positives for::highlight()and::view-transition-*()(#7913) (@Mouvedia).v16.8.1Compare Source
no-duplicate-selectorsfalse positives with Less syntax (#7888) (@romainmenke).v16.8.0Compare Source
githubformatter (#7865) (@marcalexiei).function-url-quotesfalse positives for SCSS variables and#/?characters (#7874) (@vimalloc).keyframe-selector-notationfalse positives forentry-crossingandexit-crossing(#7859) (@romainmenke).no-descending-specificityfalse positives for nested rules without declarations (#7850) (@romainmenke).no-duplicate-selectorsend positions (#7867) (@romainmenke).no-duplicate-selectorsfalse negatives for three or more duplicates (#7867) (@romainmenke).selector-max-compound-selectorserror for@nest(#7875) (@romainmenke).selector-pseudo-class-no-unknownfalse positives for:active-view-transitionand:active-view-transition-type()(#7868) (@Mouvedia).selector-type-*,selector-max-typeandselector-class-patternfalse positives for<timeline-range-name>in keyframe selectors (#7856) (@romainmenke).stylelint.utils.checkAgainstRule()regression whenreportNeedlessDisablesandquietare both enabled (#7879) (@ybiquitous).v16.7.0Compare Source
tapformatter to support TAP14 (#7759) (@Mouvedia).urlsecondary option (#7743) (@emmacharp).at-rule-no-unknownfalse positives for@historical-formsand@font-palette-values(#7774) (@Mouvedia).at-rule-no-unknownfalse positives for@view-transition(#7753) (@sebdanielsson).at-rule-no-vendor-prefixfalse negatives for@-moz-documentand@-webkit-viewport(#7772) (@Mouvedia).comment-whitespace-insideend positions (#7744) (@Mouvedia).declaration-block-no-duplicate-propertiesreported ranges (#7758) (@Mouvedia).declaration-block-no-redundant-longhand-properties/declaration-block-no-shorthand-property-overridesfalse negatives forfont-variant(#7734) (@Bilie).font-family-name-quotesfalse negatives for-moz-*/-webkit-*keywords (#7777) ([@Mouvedia](https://redirect.Configuration
📅 Schedule: Branch creation - "" in timezone Europe/Berlin, 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.