Skip to content

chore: update dependency stylelint to v18 - #1059

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

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

Conversation

@renovate

@renovate renovate Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
stylelint (source) ^16.26.1 → ^18.0.0 age confidence

Release Notes

stylelint/stylelint (stylelint)

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.

v17.4.0

Compare Source

It adds 2 options to the rules and fixes 7 bugs.

v17.3.0

Compare Source

It fixes 17 bugs. 3 related to supporting calc() in declaration-property-value-no-unknown, and 13 performance ones that make Stylelint a further 3x faster when using the rules in our standard config.

v17.2.0

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

v17.1.1

Compare Source

It fixes 2 bugs.

v17.1.0

Compare Source

It fixes 5 bugs and adds the display-notation rule. Before we turn it on in our standard config, we'd like to hear the community's thoughts on which options to use.

v17.0.0

Compare Source

It contains 14 breaking changes, which we've detailed in the migrating to 17.0.0 guide. 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.

  • Removed: CommonJS Node.js API (#​8859) (@​jeddy3).
  • Removed: output property in the Node.js API returned resolved object (#​8878) (@​jeddy3).
  • Removed: support for Node.js less than 20.19.0 (#​8867) (@​jeddy3).
  • Removed: GitHub formatter (#​8888) (@​jeddy3).
  • Removed: resolveNestedSelectors option from selector-class-pattern (#​8931) (@​jeddy3).
  • Removed: checkContextFunctionalPseudoClasses option from selector-max-id (#​8913) (@​jeddy3).
  • Changed: default fix mode to strict (#​8889) (@​jeddy3).
  • Changed: report to be consistent and predictable in how it handles the provided position arguments (#​8217) (@​romainmenke).
  • Changed: selector-max-* syntax rules for standard CSS nesting and modern functional pseudo-classes (#​8913) (@​jeddy3).
  • Changed: *-specificity semantic rules for standard CSS nesting (#​8913) (@​jeddy3).
  • Changed: no-duplicate-selectors and selector-no-qualifying-type for standard CSS nesting (#​8913) (@​jeddy3).
  • Changed: *-list rules to have consistent behaviour for vendor prefixes and case (#​8912) (@​jeddy3).
  • Changed: *-no-vendor-prefix rules to have consistent behaviour for their ignore*: [] secondary options (#​8924) (@​jeddy3).
  • Changed: declaration-property-max-values rule to have consistent behaviour for vendor prefixes (#​8926) (@​jeddy3).
  • Added: except: ["after-block"] to custom-property-empty-line-before (#​8921) (@​kovsu).
  • Added: except: ["after-block"] to declaration-empty-line-before (#​8910) (@​kovsu).
  • Added: ignoreSelectors: [] to no-duplicate-selectors (#​8883) (@​kovsu).
  • Fixed: Windows drive letter casing inconsistencies when matching patterns against file paths (#​8941) (@​adalinesimonian).
  • Fixed: CLI help to include TypeScript config files (#​8908) (@​kovsu).
  • Fixed: at-rule-descriptor-no-unknown false positives for declarations within feature-value-blocks (#​8868) (@​kovsu).
  • Fixed: declaration-block-no-redundant-longhand-properties false negatives for short and long combinations (#​8892) (@​nathannewyen).
  • Fixed: media-feature-name-no-unknown false positives for namespaced dollar variables and range context queries (#​8890) (@​kovsu).
  • Fixed: nesting-selector-no-missing-scoping-root false positives for CSS-in-JS (#​8905) (@​kovsu).
  • Fixed: no-invalid-position-declaration false negatives for embedded blocks (#​8907) (@​kovsu).
  • Fixed: selector-no-qualifying-type false negatives for :is/where() (#​8940) (@​romainmenke).
  • Fixed: selector-type-no-unknown false positives for MathML 4 tags (#​8874) (@​jeddy3).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "after 10pm,before 5:00am"
  • Automerge
    • "after 10pm and before 5:00am"

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, 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 requested a review from a team November 12, 2026 02:59
@renovate renovate Bot added the dependencies Updates a dependency label Nov 12, 2026
Copilot AI balanced review requested due to automatic review settings November 12, 2026 02:59
@bpmn-io-tasks bpmn-io-tasks Bot added the needs review Review pending label Nov 12, 2026
@renovate

renovate Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will error in a future major version of npm. See `npm help npmrc` for supported config options.
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: stylelint-config-recommended@17.0.0
npm warn Found: stylelint@18.0.0
npm warn node_modules/stylelint
npm warn   dev stylelint@"^18.0.0" from the root project
npm warn
npm warn Could not resolve dependency:
npm warn peer stylelint@"^16.23.0" from stylelint-config-recommended@17.0.0
npm warn node_modules/stylelint-config-recommended
npm warn   stylelint-config-recommended@"^17.0.0" from stylelint-config-standard@39.0.1
npm warn   node_modules/stylelint-config-standard
npm warn
npm warn Conflicting peer dependency: stylelint@16.26.1
npm warn node_modules/stylelint
npm warn   peer stylelint@"^16.23.0" from stylelint-config-recommended@17.0.0
npm warn   node_modules/stylelint-config-recommended
npm warn     stylelint-config-recommended@"^17.0.0" from stylelint-config-standard@39.0.1
npm warn     node_modules/stylelint-config-standard
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: stylelint-config-standard@39.0.1
npm error Found: stylelint@18.0.0
npm error node_modules/stylelint
npm error   dev stylelint@"^18.0.0" from the root project
npm error
npm error Could not resolve dependency:
npm error peer stylelint@"^16.23.0" from stylelint-config-standard@39.0.1
npm error node_modules/stylelint-config-standard
npm error   dev stylelint-config-standard@"^39.0.1" from the root project
npm error
npm error Conflicting peer dependency: stylelint@16.26.1
npm error node_modules/stylelint
npm error   peer stylelint@"^16.23.0" from stylelint-config-standard@39.0.1
npm error   node_modules/stylelint-config-standard
npm error     dev stylelint-config-standard@"^39.0.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry this command with --force or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2026-11-12T02_59_18_085Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2026-11-12T02_59_18_085Z-debug-0.log

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The Stylelint 18 bump leaves the lockfile out of sync, blocking npm ci, and retains configuration packages whose peer dependencies require Stylelint 16.

2 open issues
What changed in this PR

Updates the repository’s CSS linting tooling to Stylelint 18 without changing application code.

Changes:

  • Raises the Stylelint development dependency from ^16.26.1 to ^18.0.0.
File Description
package.json Updates the Stylelint dependency range to version 18.

Review effort: Balanced

Comment thread package.json
"sinon": "^22.0.0",
"sinon-chai": "^4.0.0",
"stylelint": "^16.26.1",
"stylelint": "^18.0.0",
Comment thread package.json
"sinon": "^22.0.0",
"sinon-chai": "^4.0.0",
"stylelint": "^16.26.1",
"stylelint": "^18.0.0",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updates a dependency needs review Review pending

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant