Skip to content

[js] Update stylelint 16.26.1 → 17.4.0 (major)#666

Open
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/npm/stylelint-17.4.0
Open

[js] Update stylelint 16.26.1 → 17.4.0 (major)#666
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/npm/stylelint-17.4.0

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Mar 6, 2026

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 (16.26.1 → 17.4.0) · Repo · Changelog

Release Notes

17.4.0

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

  • Added: ignoreAtRules: [] to at-rule-no-vendor-prefix (#9096) (@theacrat).
  • Added: ignoreMediaFeatureNames: [] to media-feature-name-no-vendor-prefix (#9097) (@theacrat).
  • Fixed: performance of selector cloning rules (#9089) (@jeddy3).
  • Fixed: *-empty-line-before performance (#9092) (@jeddy3).
  • Fixed: declaration-property-value-no-unknown performance (#9090) (@jeddy3).
  • Fixed: no-irregular-whitespace performance (#9091) (@jeddy3).
  • Fixed: property-no-unknown false negatives for at-rule descriptors (#9109) (@jeddy3).
  • Fixed: property-no-unknown false positives for corner-shape (#9099) (@jeddy3).
  • Fixed: property-no-unknown false positives for double-slashed properties (#9099) (@jeddy3).

17.3.0

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.

  • Fixed: performance of rule sequencing (#9055) (@jeddy3).
  • Fixed: *-list performance (#9056) (@jeddy3).
  • Fixed: *-notation performance (#9044) (@jeddy3).
  • Fixed: declaration-property-max-values performance (#9057) (@jeddy3).
  • Fixed: declaration-property-value-keyword-no-deprecated performance (#9058) (@jeddy3).
  • Fixed: declaration-property-value-no-unknown false negatives for math functions inside of non-math functions (#9064) (@romainmenke).
  • Fixed: declaration-property-value-no-unknown false positives for calc() with mixed operations (#9064) (@romainmenke).
  • Fixed: declaration-property-value-no-unknown performance (#9062) (@jeddy3).
  • Fixed: declaration-property-value-no-unknown reported ranges for multiple math functions (#9064) (@romainmenke).
  • Fixed: length-zero-no-unit performance (#9046) (@jeddy3).
  • Fixed: named-grid-areas-no-invalid false positives for mix of tabs and spaces (#9039) (@adalinesimonian).
  • Fixed: no-unknown-custom-media performance (#9059) (@jeddy3).
  • Fixed: selector-max-* performance (#9042) (@jeddy3).
  • Fixed: shorthand-property-no-redundant-values performance (#9047) (@jeddy3).
  • Fixed: syntax-string-no-invalid performance (#9061) (@jeddy3).
  • Fixed: time-min-milliseconds performance (#9060) (@jeddy3).
  • Fixed: value-keyword-case performance (#9048) (@jeddy3).

17.2.0

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.

17.1.1

It fixes 2 bugs.

  • Fixed: resolution of configs, plugins, processors, and custom syntaxes in Yarn PnP environments (#9010) (@adalinesimonian).
  • Fixed: lightness-notation autofix for decimals (#9009) (@IlyaSemenov).

17.1.0

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.

  • Added: display-notation rule (#8981) (@romainmenke).
  • Fixed: GlobbyOptions TypeScript errors (#8992) (@zalishchuk).
  • Fixed: hue-degree-notation false negatives and positives for relative colors (#8985) (@jamesnw).
  • Fixed: lightness-notation false negatives for relative colors (#8987) (@jamesnw).
  • Fixed: selector-type-no-unknown false positives for geolocation and usermedia (#9004) (@Mouvedia).
  • Fixed: selector-type-no-unknown false positives for rb, rtc and menuitem (#8972) (@Mouvedia).

17.0.0

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

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.

↗️ cacheable (indirect, 2.2.0 → 2.3.3) · Repo

Sorry, we couldn't find anything useful about this release.

↗️ fastq (indirect, 1.19.0 → 1.20.1) · Repo

Release Notes

1.20.1

What's Changed

  • chore(package): explicitly declare js module type by @Fdawgs in #95
  • feat: migrate from StandardJS to ESLint with neostandard by @mcollina in #98
  • feat: add abort() method to settle pending tasks by @mcollina in #101

New Contributors

Full Changelog: v1.19.1...v1.20.1

1.19.1

What's Changed

New Contributors

  • @qpwo made their first contribution in #92

Full Changelog: v1.19.0...v1.19.1

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.

↗️ file-entry-cache (indirect, 11.1.1 → 11.1.2) · Repo · Changelog

↗️ flat-cache (indirect, 6.1.19 → 6.1.20) · Repo · Changelog

↗️ globby (indirect, 11.1.0 → 16.1.1) · Repo

Release Notes

Too many releases to show here. View the full release notes.

Commits

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

↗️ has-flag (indirect, 4.0.0 → 5.0.1) · Repo

Release Notes

5.0.1

v5.0.0...v5.0.1

5.0.0

Breaking

v4.0.0...v5.0.0

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.

↗️ html-tags (indirect, 3.3.1 → 5.1.0) · Repo

Release Notes

5.1.0


v5.0.0...v5.1.0

5.0.0

Breaking

  • Require Node.js 20 a347d71
  • Remove obsolete elements menuitem, param, rb, and rtc

v4.0.0...v5.0.0

4.0.0

Breaking

  • Require Node.js 18 3b93d6b
  • This package is now pure ESM. Please read this.
  • The require('html-tags/void') import was changed to a named import import {voidHtmlTags} from 'html-tags' 3b93d6b

v3.3.1...v4.0.0

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.

↗️ keyv (indirect, 5.5.4 → 5.6.0) · Repo

Sorry, we couldn't find anything useful about this release.

↗️ mathml-tag-names (indirect, 2.1.3 → 4.0.0) · Repo

Release Notes

4.0.0

Change

  • 985b95e Add MathML 4
  • 3792fdf Change to require Node.js 16
    migrate: update too
  • 08aaa9a Add export map
    migrate: don’t use private APIs

Types

Full Changelog: 3.0.2...4.0.0

3.0.2

Full Changelog: 3.0.1...3.0.2

3.0.1

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.

↗️ meow (indirect, 13.2.0 → 14.1.0) · Repo

Release Notes

14.1.0

  • Add commands option for subcommand parsing ade4bb0
  • Add input.isRequired option to make input arguments required b1561c9
  • Export AnyFlag and AnyFlags types 0afdc27
  • Improve startup performance cce0096
  • Accept camelCase flags in strict mode c3a4b9b

v14.0.0...v14.1.0

14.0.0

Breaking

Fixes

  • Fix incorrect automatic number conversion for flag values 8f3909c

v13.2.0...v14.0.0

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.

↗️ postcss-selector-parser (indirect, 7.1.0 → 7.1.1) · Repo · Changelog

Release Notes

7.1.1

7.1.1

  • perf: replace startsWith with strict equality (#308)
  • fix(types): add walkUniversal declaration (#311)

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.

↗️ reusify (indirect, 1.0.4 → 1.1.0) · Repo

Release Notes

1.1.0

What's Changed

New Contributors

Full Changelog: v1.0.4...v1.1.0

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.

↗️ slash (indirect, 3.0.0 → 5.1.0) · Repo

Release Notes

5.1.0

v5.0.1...v5.1.0

5.0.1

v5.0.0...v5.0.1

5.0.0

Breaking

Improvements

v4.0.0...v5.0.0

4.0.0

Breaking

v3.0.0...v4.0.0

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.

↗️ supports-color (indirect, 7.2.0 → 10.2.2) · Repo

Release Notes

Too many releases to show here. View the full release notes.

Commits

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

↗️ supports-hyperlinks (indirect, 3.2.0 → 4.4.0) · Repo

Commits

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

↗️ write-file-atomic (indirect, 5.0.1 → 7.0.1) · Repo · Changelog

Release Notes

7.0.1

7.0.1 (2026-02-26)

Bug Fixes

Dependencies

Chores

7.0.0

7.0.0 (2025-10-22)

⚠️ BREAKING CHANGES

  • write-file-atomic now supports node ^20.17.0 || >=22.9.0

Bug Fixes

Chores

6.0.0

6.0.0 (2024-09-24)

⚠️ BREAKING CHANGES

  • write-file-atomic now supports node ^18.17.0 || >=20.5.0

Bug Fixes

Chores

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.

🆕 @​csstools/css-calc (added, 3.1.1)

🆕 @​csstools/selector-resolve-nested (added, 4.0.0)

🆕 @​sindresorhus/merge-streams (added, 4.0.0)

🆕 get-east-asian-width (added, 1.5.0)

🆕 import-meta-resolve (added, 4.2.0)

🆕 is-path-inside (added, 4.0.0)

🆕 unicorn-magic (added, 0.4.0)

🆕 ansi-regex (added, 6.2.2)

🆕 string-width (added, 8.2.0)

🆕 strip-ansi (added, 7.2.0)

🗑️ @​dual-bundle/import-meta-resolve (removed)

🗑️ array-union (removed)

🗑️ dir-glob (removed)

🗑️ known-css-properties (removed)

🗑️ path-type (removed)

🗑️ postcss-resolve-nested-selector (removed)

🗑️ balanced-match (removed)

🗑️ resolve-from (removed)


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 Mar 6, 2026
@digitaltom
Copy link
Collaborator

@depfu rebase

@depfu depfu bot force-pushed the depfu/update/npm/stylelint-17.4.0 branch from 24418eb to 6955e6b Compare March 6, 2026 23:34
@coveralls
Copy link

Pull Request Test Coverage Report for Build 22786421182

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.363%

Totals Coverage Status
Change from base Build 22785818017: 0.0%
Covered Lines: 780
Relevant Lines: 785

💛 - Coveralls

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.

2 participants