Skip to content

feat(stylelint-config)!: support stylelint 17 (#60804) - #7

Merged
xel1045 merged 2 commits into
mainfrom
feature/60804-stylelint-17
Nov 6, 2026
Merged

xel1045 merged 2 commits into
mainfrom
feature/60804-stylelint-17

Conversation

@xel1045

@xel1045 xel1045 commented Nov 6, 2026

Copy link
Copy Markdown
Member

Description

Publishes @exolnet/stylelint-config 7.0.0, compatible with stylelint 17. Projects already on stylelint 17 (e.g. Control Panel) currently get YN0060 / YN0086 peer dependency warnings on yarn install with 6.0.2.

  • stylelint-config-standard-scss ^12.0.0 → ^17.0.0 (brings stylelint-config-standard 40 and stylelint-config-recommended 18).
  • Peer dependencies: stylelint ^17.0.0, and postcss ^8.4.29 (needed by postcss-scss).
  • engines.node >=20.19.0, matching stylelint 17.
  • README: install command now includes the stylelint and postcss peers.

Our own rule overrides are unchanged. The vue-eslint-parser item from the task was already handled in #6 (@exolnet/eslint-config-vue 7.1.0).

Ref: https://redmine.exolnet.com/issues/60804

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Breaking changes to mention in the 7.0.0 release notes:

  • stylelint 16 is no longer supported; projects must install stylelint ^17 and postcss.
  • Node.js >=20.19 is required.
  • Upstream configs enable new rules, e.g. color-function-alias-notation (rgba → rgb), lightness-notation, property-no-deprecated, at-rule-no-deprecated, block-no-redundant-nested-style-rules, container-name-pattern, layer-name-pattern. Most are autofixable with --fix.

How Has This Been Tested?

  • Installed the package with stylelint@17 and postcss in a clean project: no peer dependency problems (npm ls).
  • Ran stylelint on a sample SCSS file (@use, variables, mixins, nesting, :before, PascalCase class): config loads, our overrides still apply, only the expected new color rules report.

Environment:

  • OS: macOS
  • Node: v22.23.4
  • Dependency Manager: npm
  • Linter: stylelint v17.16.0
  • Linter Config: @exolnet/stylelint-config v7.0.0

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation

- Update stylelint-config-standard-scss to ^17.0.0 (stylelint-config-standard 40, stylelint-config-recommended 18).
- Require stylelint ^17.0.0 and declare postcss ^8.4.29 as peer dependencies.
- Require Node.js >=20.19.0, as stylelint 17 does.

BREAKING CHANGE: stylelint 16 is no longer supported, postcss must be installed by the project and the upstream configs enable new rules (color-function-alias-notation, lightness-notation, property-no-deprecated, block-no-redundant-nested-style-rules, etc.).

Refs #60804
@xel1045 xel1045 self-assigned this Nov 6, 2026
@xel1045 xel1045 added the enhancement New feature or request label Nov 6, 2026
@xel1045
xel1045 requested a review from Gandhi11 November 6, 2026 17:04
@xel1045
xel1045 merged commit 6240a3a into main Nov 6, 2026
4 checks passed
@xel1045
xel1045 deleted the feature/60804-stylelint-17 branch November 6, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant