chore(deps): update dependency stylelint to v17#410
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
63ed629 to
d2b5cb8
Compare
84b7a76 to
718c4da
Compare
35fcc8d to
bcb20f6
Compare
bcb20f6 to
dbacb3b
Compare
dbacb3b to
281c380
Compare
e0cecd3 to
970f0aa
Compare
db953e1 to
fdf4b7c
Compare
e5795cb to
037818a
Compare
037818a to
087e495
Compare
483c4b6 to
3225bb4
Compare
a9c93f5 to
8c80596
Compare
fe7878f to
ab51466
Compare
ab51466 to
94cbb68
Compare
94cbb68 to
ef96052
Compare
ef96052 to
f7e1c71
Compare
Lunaria Status Overview🌑 This pull request will not trigger status changes. Learn moreLunaria automatically ignores changes on specific PRs by adding a ignored keyword in its title. Found: You can change this by either removing the keyword above from the PR's title, or modifying the Tracked FilesNote The notes below indicate what would happen if the pull request is merged when triggering status changes. Since a ignored keyword was found in the PR's title, the status changes indicated below won't be applied.
Warnings reference
|
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |

This PR contains the following updates:
16.12.0→17.13.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
stylelint/stylelint (stylelint)
v17.13.0Compare Source
It fixes 3 bugs, including a false negative one.
declaration-block-no-duplicate-propertiesfalse negatives for interleaved non-consecutive duplicates withignore: ["consecutive-duplicates(-*)"](#9324) (@sarathfrancis90).selector-max-typefalse positives for nested selectors (#9319) (@romainmenke).selector-type-no-unknownfalse positives forinstall(#9308) (@Mouvedia).v17.12.0Compare Source
It fixes 3 bugs, including a false negative one.
block-no-emptyreported range when using comments (#9294) (@romainmenke).declaration-property-value-no-unknownfalse negatives for custom properties defined in reference files (#9292) (@romainmenke).value-keyword-layout-mappingsfalse positives forcaption-side(#9293) (@romainmenke).v17.11.1Compare Source
It fixes 2 bugs.
node_modulesignore forcodeFilenamepaths containing a dot-prefixed directory (#9282) (@tuhtah).declaration-block-no-redundant-longhand-propertiesrange for contiguous redundant longhand properties (#9273) (@pamelalozano16).v17.11.0Compare Source
It adds 2 features, including a
loaderproperty toreferenceFiles: {}for when the order of appearance in the reference styles matters.loaderto experimentalreferenceFiles: {}(#9251) (@romainmenke).autofixedto the result object (#8771) (@Rob--W).v17.10.0Compare Source
It adds 3 rules and fixes 4 bugs. You can use the
*-layout-mappingsrules to enforce logical or physical properties, units and keywords.selector-no-invalidrule (#9232) (@jeddy3).unit-layout-mappingsrule (#9229) (@jeddy3).value-keyword-layout-mappingsrule (#9233) (@jeddy3).property-layout-mappingsfalse negatives for property names in declaration values (#9222) (@jeddy3).property-layout-mappingsfalse positives for@pageproperties (#9223) (@jeddy3).selector-pseudo-class-no-unknownfalse positives for nestedwebkit-scrollbarpart (#9259) (@rkdfx).v17.9.1Compare Source
It fixes 4 bugs. We also documented the
messageArgseach rule provides to themessageconfiguration property.ConfigurationErrorregression for custom syntaxes (#9245) (@jeddy3).property-no-deprecatedautofix forpage-break-*: always(#9214) (@rkdfx).selector-no-deprecatedfalse positives for::part()(#9227) (@SaekiTominaga).v17.9.0Compare Source
It adds 3 new features. Adding the
referenceFilesproperty to your configuration object makes theno-unknown-animations,no-unknown-custom-mediaandno-unknown-custom-propertiesrules more useful.referenceFilesto configuration object (#9179) (@jeddy3).abortSignaloption to Node.js API for cancellation support (#9213) (@adalinesimonian).maxWarningsto configuration object (#9181) (@mrginglymus).v17.8.0Compare Source
It adds 3 new rules and 1 configuration property.
languageOptions.directionalityconfiguration property (#8687) (@sw1tch3roo).property-layout-mappingsrule (#8687) (@sw1tch3roo).relative-selector-nesting-notationrule (#8730) (@sw1tch3roo).selector-no-deprecatedrule (#8694) (@immitsu).v17.7.0Compare Source
It fixes 4 bugs, including clearer problem messages by removing filler words and leading with the problem. We've also released
1.0.0of create-stylelint to help with first-time Stylelint setup.--print-configCLI flag to hide internal properties (#9194) (@ybiquitous).function-url-quotesfalse positives when URLs have modifiers (#8702) (@immitsu).selector-no-qualifying-typefalse positives for:has()(#9182) (@romainmenke).v17.6.0Compare Source
It adds support for extending units in
languageOptions, which then apply to rules likedeclaration-property-value-no-unknown, and fixes 2 bugs.languageOptions(#9166) (@jeddy3).ruleMetadatawhen linting multiple files with overrides (#9154) (@kovsu).custom-property-no-missing-var-functionfalse positives fortimeline-scopeandanimation-timeline(#9164) (@splincode).v17.5.0Compare Source
It deprecates two rule options, adds 1 rule option and fixes 7 bugs. We've also released
2.1.0of our VS Code extension, which adds 8 new requested features, and our first release of the Stylelint Language Server.*syntaxoptions fromdeclaration-property-value-no-unknown(#9102) (@ragini-pandey).ignoreMediaFeatureNameValues: {}tomedia-feature-name-value-no-unknown(#8976) (@kovsu).node_modulesnot ignored when usingcodeFilenamein Node.js API (#9130) (@adalinesimonian).Error TS7016for importedcss-treetypes (#9133) (@ragini-pandey).declaration-property-value-keyword-no-deprecatedfalse positives for function arguments (#9116) (@ragini-pandey).declaration-property-value-no-unknownfalse positives forcalc-size()containingsizekeyword (#9105) (@hriztam).no-descending-specificity&no-duplicate-selectorsfalse negatives for equivalent compound selectors (#8977) (@kovsu).no-invalid-position-declarationfalse positives for@mixinand@scope(#9120) (@ragini-pandey).property-no-unknownfalse negatives fortypes(#9117) (@Mouvedia).v17.4.0Compare Source
It adds 2 options to the rules and fixes 7 bugs.
ignoreAtRules: []toat-rule-no-vendor-prefix(#9096) (@theacrat).ignoreMediaFeatureNames: []tomedia-feature-name-no-vendor-prefix(#9097) (@theacrat).*-empty-line-beforeperformance (#9092) (@jeddy3).declaration-property-value-no-unknownperformance (#9090) (@jeddy3).no-irregular-whitespaceperformance (#9091) (@jeddy3).property-no-unknownfalse negatives for at-rule descriptors (#9109) (@jeddy3).property-no-unknownfalse positives forcorner-shape(#9099) (@jeddy3).property-no-unknownfalse positives for double-slashed properties (#9099) (@jeddy3).v17.3.0Compare Source
It fixes 17 bugs. 3 related to supporting
calc()indeclaration-property-value-no-unknown, and 13 performance ones that make Stylelint a further 3x faster when using the rules in our standard config.*-listperformance (#9056) (@jeddy3).*-notationperformance (#9044) (@jeddy3).declaration-property-max-valuesperformance (#9057) (@jeddy3).declaration-property-value-keyword-no-deprecatedperformance (#9058) (@jeddy3).declaration-property-value-no-unknownfalse negatives for math functions inside of non-math functions (#9064) (@romainmenke).declaration-property-value-no-unknownfalse positives forcalc()with mixed operations (#9064) (@romainmenke).declaration-property-value-no-unknownperformance (#9062) (@jeddy3).declaration-property-value-no-unknownreported ranges for multiple math functions (#9064) (@romainmenke).length-zero-no-unitperformance (#9046) (@jeddy3).named-grid-areas-no-invalidfalse positives for mix of tabs and spaces (#9039) (@adalinesimonian).no-unknown-custom-mediaperformance (#9059) (@jeddy3).selector-max-*performance (#9042) (@jeddy3).shorthand-property-no-redundant-valuesperformance (#9047) (@jeddy3).syntax-string-no-invalidperformance (#9061) (@jeddy3).time-min-millisecondsperformance (#9060) (@jeddy3).value-keyword-caseperformance (#9048) (@jeddy3).v17.2.0Compare Source
It fixes 7 bugs, including 5 performance ones that make Stylelint 7x faster and use 3x less memory on larger codebases such as design systems and monorepos. We also restructured our docs to create a contributor guide. If you'd like to help out and contribute to Stylelint, that's the place to start.
declaration-property-value-no-unknownfalse negatives for math functions (#9011) (@ragini-pandey).no-duplicate-selectorsfalse negatives for matching escaped selectors (#8953) (@bjnewman).no-invalid-position-at-import-rulefalse negatives for layers with blocks (#9026) (@romainmenke).v17.1.1Compare Source
It fixes 2 bugs.
lightness-notationautofix for decimals (#9009) (@IlyaSemenov).v17.1.0Compare Source
It fixes 5 bugs and adds the
display-notationrule. Before we turn it on in our standard config, we'd like to hear the community's thoughts on which options to use.display-notationrule (#8981) (@romainmenke).GlobbyOptionsTypeScript errors (#8992) (@zalishchuk).hue-degree-notationfalse negatives and positives for relative colors (#8985) (@jamesnw).lightness-notationfalse negatives for relative colors (#8987) (@jamesnw).selector-type-no-unknownfalse positives forgeolocationandusermedia(#9004) (@Mouvedia).selector-type-no-unknownfalse positives forrb,rtcandmenuitem(#8972) (@Mouvedia).v17.0.0Compare Source
It contains 14 breaking changes, which we've detailed in the migrating to
17.0.0guide. Additionally, it adds 3 options to the rules and fixes 9 bugs. We've also released compatible versions of our shared config, Visual Studio Code extension, Node.js Rule Tester and Jest preset.outputproperty in the Node.js API returned resolved object (#8878) (@jeddy3).resolveNestedSelectorsoption fromselector-class-pattern(#8931) (@jeddy3).checkContextFunctionalPseudoClassesoption fromselector-max-id(#8913) (@jeddy3).fixmode tostrict(#8889) (@jeddy3).reportto be consistent and predictable in how it handles the provided position arguments (#8217) (@romainmenke).selector-max-*syntax rules for standard CSS nesting and modern functional pseudo-classes (#8913) (@jeddy3).*-specificitysemantic rules for standard CSS nesting (#8913) (@jeddy3).no-duplicate-selectorsandselector-no-qualifying-typefor standard CSS nesting (#8913) (@jeddy3).*-listrules to have consistent behaviour for vendor prefixes and case (#8912) (@jeddy3).*-no-vendor-prefixrules to have consistent behaviour for theirignore*: []secondary options (#8924) (@jeddy3).declaration-property-max-valuesrule to have consistent behaviour for vendor prefixes (#8926) (@jeddy3).except: ["after-block"]tocustom-property-empty-line-before(#8921) (@kovsu).except: ["after-block"]todeclaration-empty-line-before(#8910) (@kovsu).ignoreSelectors: []tono-duplicate-selectors(#8883) (@kovsu).at-rule-descriptor-no-unknownfalse positives for declarations within feature-value-blocks (#8868) (@kovsu).declaration-block-no-redundant-longhand-propertiesfalse negatives for short and long combinations (#8892) (@nathannewyen).media-feature-name-no-unknownfalse positives for namespaced dollar variables and range context queries (#8890) (@kovsu).nesting-selector-no-missing-scoping-rootfalse positives for CSS-in-JS (#8905) (@kovsu).no-invalid-position-declarationfalse negatives for embedded blocks (#8907) (@kovsu).selector-no-qualifying-typefalse negatives for:is/where()(#8940) (@romainmenke).selector-type-no-unknownfalse positives for MathML 4 tags (#8874) (@jeddy3).v16.26.1Compare Source
It fixes numerous false positive bugs, including many in the
declaration-property-value-no-unknownrule for the latest CSS specifications.*-no-unknownfalse positives for latest specs by integrating@csstools/css-syntax-patches-for-csstree(#8850) (@romainmenke).at-rule-no-unknownfalse positives for@function(#8851) (@jeddy3).declaration-property-value-no-unknownfalse positives forattr(),if()and custom functions (#8853) (@jeddy3).function-url-quotesfalse positives when URLs require quoting (#8804) (@taearls).selector-pseudo-element-no-unknownfalse positives for::scroll-button()(#8856) (@Mouvedia).v16.26.0Compare Source
It adds 1 feature and fixes 2 bugs.
customSyntaxwith function export (#8834) (@silverwind).custom-property-no-missing-var-functionfalse positives for style query inif()function (#8813) (@sajdakabir).media-feature-range-notationfalse positives for multiple queries andexcept: exact-value(#8832) (@jeddy3).v16.25.0Compare Source
It adds 3 new features, including experimental support for bulk suppressions. It's also our first immutable release, with the package published to npm using trusted publishing and our dependencies updated on a cool down for improved supply chain security.
ignoreAtRules: []tono-invalid-position-declaration(#8781) (@jrmlt).v16.24.0Compare Source
It adds 1 new rule, adds 1 option to a rule and fixes 2 bugs.
rule-nesting-at-rule-required-listrule (#8680) (@sw1tch3roo).ignoreAtRules: []tonesting-selector-no-missing-scoping-root(#8743) (@karlhorky).function-no-unknownfalse positives forcontrast-color()andsibling-*()(#8729) (@Mouvedia).selector-pseudo-class-no-unknownfalse positives for:heading(#8749) (@Mouvedia).v16.23.1Compare Source
It fixes 7 bugs.
no-invalid-position-declarationfalse positives for embedded styles (#8701) (@sw1tch3roo).property-no-deprecatederroneously autofixingclip(#8699) (@immitsu).property-no-deprecatedfalse positives for-webkit-box-orient: vertical;(#8699) (@immitsu).selector-pseudo-*-no-unknownfalse positives for some meter pseudo classes/elements (#8708) (@Mouvedia).selector-pseudo-class-no-unknownfalse positives for:unchecked(#8705) (@Mouvedia).selector-pseudo-element-no-unknownfalse positives for::search-text(#8707) (@Mouvedia).selector-type-no-unknownfalse positives forselectedcontent(#8716) (@Mouvedia).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)Configuration
📅 Schedule: (UTC)
* * * * 0,6)🚦 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.