From 245a2ab1a52203ee41bbeefcc648b0081447af40 Mon Sep 17 00:00:00 2001 From: Alexandre D'Eschambeault Date: Fri, 6 Nov 2026 11:57:48 -0500 Subject: [PATCH 1/2] feat(stylelint-config)!: support stylelint 17 - 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 --- packages/stylelint-config/README.md | 6 ++++-- packages/stylelint-config/package.json | 8 ++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/packages/stylelint-config/README.md b/packages/stylelint-config/README.md index 64468fa..debe27e 100644 --- a/packages/stylelint-config/README.md +++ b/packages/stylelint-config/README.md @@ -7,10 +7,12 @@ Stylelint configuration used at eXolnet. ## Installation -Install this package, and save it as a `devDependency`: +This configuration requires `stylelint` 17 and Node.js 20.19 or later. + +Install this package along with its peer dependencies, and save them as `devDependencies`: ``` -npm install --save-dev @exolnet/stylelint-config +npm install --save-dev @exolnet/stylelint-config stylelint postcss ``` Then have your project's `.stylelintrc.json` file extend the ruleset. diff --git a/packages/stylelint-config/package.json b/packages/stylelint-config/package.json index 08d955d..5274a90 100644 --- a/packages/stylelint-config/package.json +++ b/packages/stylelint-config/package.json @@ -22,11 +22,15 @@ }, "bugs": "https://github.com/eXolnet/code-quality-tools/issues", "main": "index.js", + "engines": { + "node": ">=20.19.0" + }, "dependencies": { - "stylelint-config-standard-scss": "^12.0.0" + "stylelint-config-standard-scss": "^17.0.0" }, "peerDependencies": { - "stylelint": ">=16.0.0" + "postcss": "^8.4.29", + "stylelint": "^17.0.0" }, "publishConfig": { "access": "public" From e4b0c64860a33d34d512baf6f384b8784dd16434 Mon Sep 17 00:00:00 2001 From: Alexandre D'Eschambeault Date: Fri, 6 Nov 2026 11:57:49 -0500 Subject: [PATCH 2/2] build: bump @exolnet/stylelint-config to v7.0.0 --- packages/stylelint-config/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/stylelint-config/package.json b/packages/stylelint-config/package.json index 5274a90..e8ffad5 100644 --- a/packages/stylelint-config/package.json +++ b/packages/stylelint-config/package.json @@ -1,6 +1,6 @@ { "name": "@exolnet/stylelint-config", - "version": "6.0.2", + "version": "7.0.0", "description": "Stylelint configuration used at eXolnet", "author": "eXolnet", "license": "MIT",