Skip to content

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

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

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

Conversation

@renovate-bot-cbcoutinho

@renovate-bot-cbcoutinho renovate-bot-cbcoutinho Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
stylelint (source) 17.16.0 → 18.2.0 age adoption passing confidence

Release Notes

stylelint/stylelint (stylelint)

v18.2.0

Compare Source

It fixes 4 bugs.

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

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 has been generated by Mend Renovate CLI.

@vercel

vercel Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astrolabe-docs Ready Ready Preview Dec 6, 2026 5:06am UTC

@renovate-bot-cbcoutinho

renovate-bot-cbcoutinho Bot commented Nov 7, 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 error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: @nextcloud/stylelint-config@3.2.2
npm error Found: stylelint@18.2.0
npm error node_modules/stylelint
npm error   dev stylelint@"18.2.0" from the root project
npm error   peer stylelint@">=14.0.0" from stylelint-config-html@1.1.0
npm error   node_modules/stylelint-config-html
npm error     stylelint-config-html@">=1.0.0" from stylelint-config-recommended-vue@1.6.1
npm error     node_modules/stylelint-config-recommended-vue
npm error       peer stylelint-config-recommended-vue@"^1.6.1" from @nextcloud/stylelint-config@3.2.2
npm error       node_modules/@nextcloud/stylelint-config
npm error         dev @nextcloud/stylelint-config@"3.2.2" from the root project
npm error   1 more (stylelint-config-recommended-vue)
npm error
npm error Could not resolve dependency:
npm error peer stylelint@"^17.9.1" from @nextcloud/stylelint-config@3.2.2
npm error node_modules/@nextcloud/stylelint-config
npm error   dev @nextcloud/stylelint-config@"3.2.2" from the root project
npm error
npm error Conflicting peer dependency: stylelint@17.16.0
npm error node_modules/stylelint
npm error   peer stylelint@"^17.9.1" from @nextcloud/stylelint-config@3.2.2
npm error   node_modules/@nextcloud/stylelint-config
npm error     dev @nextcloud/stylelint-config@"3.2.2" 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 /tmp/renovate/cache/others/npm/_logs/2026-12-06T05_05_21_568Z-eresolve-report.txt
npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2026-12-06T05_05_21_568Z-debug-0.log

@claude

claude Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Claude finished @renovate-bot-cbcoutinho[bot]'s task in 17s —— View job


Review: stylelint 17.16.0 → 18.x

What I read: the full diff (package.json, 1 line), stylelint.config.cjs, the engines field and the CI node versions. I did not run the lint or install dependencies, and my attempt to check the @nextcloud/stylelint-config peer range was denied.

Findings (must fix)

  1. package-lock.json was not updated. package.json now pins stylelint at 18.2.0, but the lockfile still resolves node_modules/stylelint to 17.16.0. npm ci fails on this mismatch, so every CI job that installs npm dependencies will break. Run npm install and commit the lockfile. A Renovate rebase may also do this.
  2. The PR description and the diff disagree. The description says 17.16.0 → 18.1.0, but the diff pins 18.2.0. The branch was probably updated after the description was written. Check that the version you want is the one pinned.

Things to verify (not blocking on their own)

  • Peer compatibility. @nextcloud/stylelint-config is pinned at 3.2.2. Confirm its peer range accepts stylelint 18, or npm ci may hit an ERESOLVE error.
  • Node version. The engines field requires Node ^26, and CI uses Node 26. That is fine for stylelint 18, which drops end-of-life Node versions.
  • Config file. stylelint.config.cjs is a plain CommonJS extends config with no custom options. The 18.0 breaking changes don't appear to affect it: it doesn't use declaration-block-single-line-max-declarations, context.fix, globbyOptions, or the *syntax options. This depends on the rules @nextcloud/stylelint-config enables. If it enables the removed declaration-block-single-line-max-declarations rule, the run will fail.
  • Scripts. The npm run stylelint glob (src/**/*.vue, *.scss, *.css) doesn't depend on any removed behaviour.
  • New rules. 18.x adds rules and changes function-no-unknown, so lint output may differ. Run npm run stylelint after updating the lockfile.

Test coverage: no API surface changes, so the mandatory Pact and e2e rules in CLAUDE.md don't apply.

Verdict: changes are needed. The lockfile must be regenerated, and the pinned version should match the description.

claude-review: verdict=changes head=5b4886a5368e459827495d8713866b66cd3e9022

@sonarqubecloud

sonarqubecloud Bot commented Dec 6, 2026

Copy link
Copy Markdown

This branch was successfully deployed

1 active deployment
Preview — 5b4886a5 Deployed Dec 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant