Skip to content

[js] Update stylelint 17.16.0 → 18.0.0 (major) - #1665

Merged
mockdeep merged 1 commit into
mainfrom
depfu/update/pnpm/stylelint-18.0.0
Nov 10, 2026
Merged

mockdeep merged 1 commit into
mainfrom
depfu/update/pnpm/stylelint-18.0.0

Conversation

@depfu

@depfu depfu Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ stylelint (17.16.0 → 18.0.0) · Repo · Changelog

Release Notes

18.0.0

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

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added the depfu label Nov 10, 2026
@depfu depfu Bot assigned mockdeep Nov 10, 2026
@depfu
depfu Bot requested a review from mockdeep November 10, 2026 12:56
@mockdeep
mockdeep force-pushed the depfu/update/pnpm/stylelint-18.0.0 branch from e0d7d12 to 5bdb2e9 Compare November 10, 2026 21:34
@mockdeep
mockdeep merged commit fe0f074 into main Nov 10, 2026
4 checks passed
@mockdeep
mockdeep deleted the depfu/update/pnpm/stylelint-18.0.0 branch November 10, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant