From 07574fbc17757bc747fe2b545ccd5d3ab1353363 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Thu, 12 Feb 2026 11:00:52 +0200 Subject: [PATCH] build: Update stylelint to 17 This requires the following changes: - Remove disabling of scss/at-import-no-partial-leading-underscore. This rule is no longer recognized. - Switching from stylelint-use-logical-spec to stylelint-use-logical. The former is not yet compatible with stylelint 17. --- .stylelintrc.json | 5 ++--- node_modules | 2 +- package.json | 10 +++++----- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.stylelintrc.json b/.stylelintrc.json index 421d67187e..f3dc006611 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,7 +1,7 @@ { "extends": "stylelint-config-standard-scss", "plugins": [ - "stylelint-use-logical-spec" + "stylelint-use-logical" ], "rules": { "at-rule-empty-line-before": null, @@ -24,7 +24,6 @@ "no-duplicate-selectors": null, "scss/at-extend-no-missing-placeholder": null, "scss/load-partial-extension": null, - "scss/at-import-no-partial-leading-underscore": null, "scss/load-no-partial-leading-underscore": null, "scss/at-mixin-pattern": null, "scss/comment-no-empty": null, @@ -35,6 +34,6 @@ "selector-class-pattern": null, "selector-id-pattern": null, "selector-not-notation": "simple", - "liberty/use-logical-spec": "always" + "csstools/use-logical": "always" } } diff --git a/node_modules b/node_modules index cac9f08c0d..d98072bb3e 160000 --- a/node_modules +++ b/node_modules @@ -1 +1 @@ -Subproject commit cac9f08c0df2a60fadae1973bb6099da93a0770e +Subproject commit d98072bb3eb0e6d492b94132e47668169fe03997 diff --git a/package.json b/package.json index f0daa6a3af..92fe312224 100644 --- a/package.json +++ b/package.json @@ -45,12 +45,12 @@ "eslint-plugin-react-hooks": "4.6.2", "qunit": "2.25.0", "qunit-tap": "1.5.1", - "stylelint": "16.26.1", - "stylelint-config-recommended-scss": "16.0.2", - "stylelint-config-standard": "39.0.1", - "stylelint-config-standard-scss": "16.0.0", + "stylelint": "17.2.0", + "stylelint-config-recommended-scss": "17.0.0", + "stylelint-config-standard": "40.0.0", + "stylelint-config-standard-scss": "17.0.0", "stylelint-formatter-pretty": "4.0.1", - "stylelint-use-logical-spec": "5.0.1", + "stylelint-use-logical": "2.1.3", "typescript": "5.9.3" }, "scripts": {