Repository navigation
chore(deps): update dependency stylelint to v18 - #1284
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## staging #1284 +/- ##
========================================
Coverage 78.27% 78.27%
========================================
Files 57 57
Lines 1450 1450
========================================
Hits 1135 1135
Misses 315 315 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/stylelint-18.x
branch
2 times, most recently
from
November 17, 2026 01:15
d8861be to
bd6d474
Compare
renovate
Bot
force-pushed
the
renovate/stylelint-18.x
branch
from
November 20, 2026 10:40
bd6d474 to
788e141
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^17.4.0→^18.1.0Release Notes
stylelint/stylelint (stylelint)
v18.1.0Compare Source
It runs the rules in multiple passes when autofixing so that fixes no longer introduce new problems, and it fixes 14 other bugs.
fixintroducing new problems in the CLI and Node.js API by running the rules in multiple passes (#9637) (@jeddy3).fixconfiguration property not writing the fixed code to files (#9662) (@ybiquitous).fixfor comments within values, selectors and at-rule preludes (#9640) (@romainmenke).at-rule-no-deprecatedautofix removing comments (#9658) (@jeddy3).custom-property-empty-line-beforeanddeclaration-empty-line-beforefalse positives and negatives after autofixing (#9649) (@jeddy3).declaration-property-value-no-unknown,property-no-unknownandvalue-type-custom-property-required-listfalse negatives for rules nested within non-nesting at-rules (#9630) (@jeddy3).font-family-name-quotesautofix removing comments (#9648) (@jeddy3).function-url-quotesautofix for emptyurl()(#9646) (@jeddy3).import-notationautofix removing comments (#9644) (@jeddy3).media-feature-name-no-vendor-prefixfalse positives for names repeated inside the at-rule's block (#9643) (@jeddy3).relative-selector-nesting-notationautofix removing comments (#9659) (@jeddy3).selector-class-pattern,selector-max-typeandselector-type-{case,no-unknown}false negatives for selector lists containingfromortooutside@keyframes(#9669) (@jeddy3).selector-not-notationautofix for empty selectors (#9660) (@jeddy3).shorthand-property-no-redundant-valuesautofix removing comments (#9647) (@jeddy3).value-no-vendor-prefixautofix removing comments (#9645) (@jeddy3).v18.0.0Compare Source
It contains 13 breaking changes, which we've detailed in the migrating to
18.0.0guide. It also adds 4 new rules and fixes 16 bugs.node_modulesdirectory (#9534) (@jeddy3).context.fixproperty (#9505) (@jeddy3).declaration-block-single-line-max-declarationsrule (#9565) (@jeddy3).*syntaxoptions fromdeclaration-property-value-no-unknown(#9487) (@jeddy3).ignoreSelectorsoption fromselector-max-specificity(#9579) (@jeddy3).node:util.parseArgs(#9508) (@jeddy3).globbyOptionsto support only a subset of options (#9500) (@jeddy3).function-no-unknownto use the CSSTree Syntax Reference for known functions and to ignore vendor-prefixed functions (#9574) (@jeddy3).coloroption withnode:util.styleText(#9529) (@jeddy3).at-charset-rule-no-invalidrule (#9509) (@firefoxic).declaration-property-custom-property-allowed-listrule (#9542) (@jeddy3).value-no-invalidrule (#9507) (@jeddy3).value-type-custom-property-required-listexperimental rule (#9572) (@jeddy3).processorsconfiguration property (#9543) (@jeddy3).referenceFilesconfiguration property (#9598) (@jeddy3).result.stylelint.postcssproperty for plugins (#9594) (@jeddy3).stylelint.versionproperty (#9595) (@ybiquitous).languageOptions.syntaxsupport tofunction-no-unknown(#9574) (@jeddy3).referenceFilesperformance (#9573) (@jeddy3).file-entry-cache(#9593) (@jeddy3).css-tree(#9580) (@jeddy3).--fixfor files where the only change is the removal of a byte order mark (#9512) (@firefoxic).Config['extends']type for configuration objects (#9526) (@firefoxic).at-rule-descriptor-value-no-unknownfalse negatives forvar()(#9614) (@jeddy3).custom-property-{pattern,no-missing-var-function}and*-no-unknownfalse positives and negatives for@propertywith a list of names (#9571) (@jeddy3).custom-property-no-missing-var-functionfalse negatives for custom properties defined inreferenceFiles(#9570) (@jeddy3).custom-property-no-missing-var-functionfalse positives for recently introduced properties (#9567) (@jeddy3).declaration-block-no-redundant-longhand-propertiesanddeclaration-block-no-shorthand-property-overridesfalse negatives forcontain-intrinsic-size(#9550) (@firefoxic).declaration-block-no-shorthand-property-overridesfalse negatives for flow-relative properties overridden by physical shorthands (#9549) (@firefoxic).declaration-property-value-no-unknownfalse negatives for values containing known custom properties (#9537) (@jeddy3).declaration-property-value-no-unknownfalse negatives for values containing registered custom properties (#9566) (@jeddy3).declaration-property-value-no-unknownfalse positives and negatives for files included in areferenceFilesbundle (#9358) (@romainmenke).property-layout-mappingsfalse negatives for physical shorthand properties (#9615) (@jeddy3).v17.16.0Compare Source
It fixes 2 bugs in the
layout-mappingsrules. This will likely be the last17.xrelease, as we prepare for18.0.0.property-layout-mappingsandunit-layout-mappingsfalse negatives for uppercase property names and units (#9485) (@giaBaoJS).value-keyword-layout-mappingsfalse positives forcaption-side(#9483) (@giaBaoJS).v17.15.0Compare Source
It adds 1 new rule and 2 new rule options, and fixes 4 bugs.
selector-no-unmatchablerule (#9451) (@jeddy3).ignoreFunctions: []tocolor-namedandcolor-no-hex(#9463) (@jsmitty12).custom-property-no-missing-var-functionfalse positives for anchor positioning (#9466) (@giaBaoJS).declaration-block-no-redundant-longhand-propertiesautofix forfontshorthand (#9402) (@sarathfrancis90).declaration-property-max-valuesfalse positives for interpolated inline expressions (#9437) (@alexchen-sys).selector-no-invalidfalse negatives for pseudo-elements, combinators and nested:has()(#9452) (@jeddy3).v17.14.1Compare Source
It fixes 4 bugs.
quietoption suppressesreport*warning reports (#9387) (@ychampion).declaration-block-no-redundant-longhand-propertiesautofix producing invalidbackgroundshorthand whenbackground-sizeis present (#9364) (@sarathfrancis90).rule-empty-line-beforefalse positives for shared-line comments withexcept: ["after-single-line-comment"](#9394) (@sarathfrancis90).v17.14.0Compare Source
It fixes 3 bugs, including a false negative one.
TIMINGonly on use (#9356) (@jeddy3).function-calc-no-unspaced-operatorfalse negatives for unspaced+and-operators following a*or/operator (#9357) (@sarathfrancis90).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).Configuration
📅 Schedule: (in timezone Europe/Amsterdam)
🚦 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.