Skip to content

chore(deps): update dependency stylelint to v18 - #1284

Open
renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/stylelint-18.x
Open

renovate[bot] wants to merge 1 commit into
stagingfrom
renovate/stylelint-18.x

Conversation

@renovate

@renovate renovate Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
stylelint (source) ^17.4.0 → ^18.1.0 age confidence

Release Notes

stylelint/stylelint (stylelint)

v18.1.0

Compare Source

It runs the rules in multiple passes when autofixing so that fixes no longer introduce new problems, and it fixes 14 other bugs.

  • Fixed: fix introducing new problems in the CLI and Node.js API by running the rules in multiple passes (#​9637) (@​jeddy3).
  • Fixed: fix configuration property not writing the fixed code to files (#​9662) (@​ybiquitous).
  • Fixed: false positives and negatives after fix for comments within values, selectors and at-rule preludes (#​9640) (@​romainmenke).
  • Fixed: at-rule-no-deprecated autofix removing comments (#​9658) (@​jeddy3).
  • Fixed: custom-property-empty-line-before and declaration-empty-line-before false positives and negatives after autofixing (#​9649) (@​jeddy3).
  • Fixed: declaration-property-value-no-unknown, property-no-unknown and value-type-custom-property-required-list false negatives for rules nested within non-nesting at-rules (#​9630) (@​jeddy3).
  • Fixed: font-family-name-quotes autofix removing comments (#​9648) (@​jeddy3).
  • Fixed: function-url-quotes autofix for empty url() (#​9646) (@​jeddy3).
  • Fixed: import-notation autofix removing comments (#​9644) (@​jeddy3).
  • Fixed: media-feature-name-no-vendor-prefix false positives for names repeated inside the at-rule's block (#​9643) (@​jeddy3).
  • Fixed: relative-selector-nesting-notation autofix removing comments (#​9659) (@​jeddy3).
  • Fixed: selector-class-pattern, selector-max-type and selector-type-{case,no-unknown} false negatives for selector lists containing from or to outside @keyframes (#​9669) (@​jeddy3).
  • Fixed: selector-not-notation autofix for empty selectors (#​9660) (@​jeddy3).
  • Fixed: shorthand-property-no-redundant-values autofix removing comments (#​9647) (@​jeddy3).
  • Fixed: value-no-vendor-prefix autofix removing comments (#​9645) (@​jeddy3).

v18.0.0

Compare Source

It contains 13 breaking changes, which we've detailed in the migrating to 18.0.0 guide. It also adds 4 new rules and fixes 16 bugs.

  • Removed: support for end-of-life and older versions of Node.js (#​9486) (@​jeddy3).
  • Removed: support for CommonJS-style filename-less and extension-less locator paths (#​9545) (@​jeddy3).
  • Removed: resolution of packages from the global node_modules directory (#​9534) (@​jeddy3).
  • Removed: context.fix property (#​9505) (@​jeddy3).
  • Removed: declaration-block-single-line-max-declarations rule (#​9565) (@​jeddy3).
  • Removed: *syntax options from declaration-property-value-no-unknown (#​9487) (@​jeddy3).
  • Removed: ignoreSelectors option from selector-max-specificity (#​9579) (@​jeddy3).
  • Changed: TypeScript config files to be loaded by Node.js's built-in type stripping (#​9489) (@​jeddy3).
  • Changed: the CLI to parse arguments with node:util.parseArgs (#​9508) (@​jeddy3).
  • Changed: globbyOptions to support only a subset of options (#​9500) (@​jeddy3).
  • Changed: function-no-unknown to use the CSSTree Syntax Reference for known functions and to ignore vendor-prefixed functions (#​9574) (@​jeddy3).
  • Changed: color detection to use new color option with node:util.styleText (#​9529) (@​jeddy3).
  • Changed: hyperlink detection (#​9536) (@​jeddy3).
  • Added: at-charset-rule-no-invalid rule (#​9509) (@​firefoxic).
  • Added: declaration-property-custom-property-allowed-list rule (#​9542) (@​jeddy3).
  • Added: value-no-invalid rule (#​9507) (@​jeddy3).
  • Added: value-type-custom-property-required-list experimental rule (#​9572) (@​jeddy3).
  • Added: stable support for processors configuration property (#​9543) (@​jeddy3).
  • Added: stable support for referenceFiles configuration property (#​9598) (@​jeddy3).
  • Added: result.stylelint.postcss property for plugins (#​9594) (@​jeddy3).
  • Added: stylelint.version property (#​9595) (@​ybiquitous).
  • Added: languageOptions.syntax support to function-no-unknown (#​9574) (@​jeddy3).
  • Fixed: referenceFiles performance (#​9573) (@​jeddy3).
  • Fixed: import and cache performance by replacing file-entry-cache (#​9593) (@​jeddy3).
  • Fixed: import performance by lazily loading css-tree (#​9580) (@​jeddy3).
  • Fixed: exit code when all errors in a file are suppressed and other problems are reported (#​9528) (@​schreibse).
  • Fixed: --fix for files where the only change is the removal of a byte order mark (#​9512) (@​firefoxic).
  • Fixed: Config['extends'] type for configuration objects (#​9526) (@​firefoxic).
  • Fixed: at-rule-descriptor-value-no-unknown false negatives for var() (#​9614) (@​jeddy3).
  • Fixed: custom-property-{pattern,no-missing-var-function} and *-no-unknown false positives and negatives for @property with a list of names (#​9571) (@​jeddy3).
  • Fixed: custom-property-no-missing-var-function false negatives for custom properties defined in referenceFiles (#​9570) (@​jeddy3).
  • Fixed: custom-property-no-missing-var-function false positives for recently introduced properties (#​9567) (@​jeddy3).
  • Fixed: declaration-block-no-redundant-longhand-properties and declaration-block-no-shorthand-property-overrides false negatives for contain-intrinsic-size (#​9550) (@​firefoxic).
  • Fixed: declaration-block-no-shorthand-property-overrides false negatives for flow-relative properties overridden by physical shorthands (#​9549) (@​firefoxic).
  • Fixed: declaration-property-value-no-unknown false negatives for values containing known custom properties (#​9537) (@​jeddy3).
  • Fixed: declaration-property-value-no-unknown false negatives for values containing registered custom properties (#​9566) (@​jeddy3).
  • Fixed: declaration-property-value-no-unknown false positives and negatives for files included in a referenceFiles bundle (#​9358) (@​romainmenke).
  • Fixed: property-layout-mappings false negatives for physical shorthand properties (#​9615) (@​jeddy3).

v17.16.0

Compare Source

It fixes 2 bugs in the layout-mappings rules. This will likely be the last 17.x release, as we prepare for 18.0.0.

  • Fixed: property-layout-mappings and unit-layout-mappings false negatives for uppercase property names and units (#​9485) (@​giaBaoJS).
  • Fixed: value-keyword-layout-mappings false positives for caption-side (#​9483) (@​giaBaoJS).

v17.15.0

Compare Source

It adds 1 new rule and 2 new rule options, and fixes 4 bugs.

v17.14.1

Compare Source

It fixes 4 bugs.

v17.14.0

Compare Source

It fixes 3 bugs, including a false negative one.

v17.13.0

Compare Source

It fixes 3 bugs, including a false negative one.

  • Fixed: declaration-block-no-duplicate-properties false negatives for interleaved non-consecutive duplicates with ignore: ["consecutive-duplicates(-*)"] (#​9324) (@​sarathfrancis90).
  • Fixed: selector-max-type false positives for nested selectors (#​9319) (@​romainmenke).
  • Fixed: selector-type-no-unknown false positives for install (#​9308) (@​Mouvedia).

v17.12.0

Compare Source

It fixes 3 bugs, including a false negative one.

v17.11.1

Compare Source

It fixes 2 bugs.

  • Fixed: node_modules ignore for codeFilename paths containing a dot-prefixed directory (#​9282) (@​tuhtah).
  • Fixed: declaration-block-no-redundant-longhand-properties range for contiguous redundant longhand properties (#​9273) (@​pamelalozano16).

v17.11.0

Compare Source

It adds 2 features, including a loader property to referenceFiles: {} for when the order of appearance in the reference styles matters.

v17.10.0

Compare Source

It adds 3 rules and fixes 4 bugs. You can use the *-layout-mappings rules to enforce logical or physical properties, units and keywords.

v17.9.1

Compare Source

It fixes 4 bugs. We also documented the messageArgs each rule provides to the message configuration property.

v17.9.0

Compare Source

It adds 3 new features. Adding the referenceFiles property to your configuration object makes the no-unknown-animations, no-unknown-custom-media and no-unknown-custom-properties rules more useful.

v17.8.0

Compare Source

It adds 3 new rules and 1 configuration property.

v17.7.0

Compare Source

It fixes 4 bugs, including clearer problem messages by removing filler words and leading with the problem. We've also released 1.0.0 of create-stylelint to help with first-time Stylelint setup.

v17.6.0

Compare Source

It adds support for extending units in languageOptions, which then apply to rules like declaration-property-value-no-unknown, and fixes 2 bugs.

  • Added: support for extending units to languageOptions (#​9166) (@​jeddy3).
  • Fixed: missing ruleMetadata when linting multiple files with overrides (#​9154) (@​kovsu).
  • Fixed: custom-property-no-missing-var-function false positives for timeline-scope and animation-timeline (#​9164) (@​splincode).

v17.5.0

Compare Source

It deprecates two rule options, adds 1 rule option and fixes 7 bugs. We've also released 2.1.0 of our VS Code extension, which adds 8 new requested features, and our first release of the Stylelint Language Server.


Configuration

📅 Schedule: (in timezone Europe/Amsterdam)

  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Nov 6, 2026
@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 414ba84d-cb76-4603-8a78-bae3d76edc5b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codecov

codecov Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.27%. Comparing base (48b7c6f) to head (788e141).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate
renovate Bot force-pushed the renovate/stylelint-18.x branch 2 times, most recently from d8861be to bd6d474 Compare November 17, 2026 01:15
@renovate
renovate Bot force-pushed the renovate/stylelint-18.x branch from bd6d474 to 788e141 Compare November 20, 2026 10:40

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants