From 761f77779f6a0ce61603469048cbafe91b7bbc39 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 22:15:05 +0000 Subject: [PATCH 1/2] Bump stylelint-scss from 6.2.1 to 6.3.2 Bumps [stylelint-scss](https://github.com/stylelint-scss/stylelint-scss) from 6.2.1 to 6.3.2. - [Release notes](https://github.com/stylelint-scss/stylelint-scss/releases) - [Changelog](https://github.com/stylelint-scss/stylelint-scss/blob/master/CHANGELOG.md) - [Commits](https://github.com/stylelint-scss/stylelint-scss/compare/v6.2.1...v6.3.2) --- updated-dependencies: - dependency-name: stylelint-scss dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 18 ++++++------------ package.json | 2 +- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index e58a948e7..083deb486 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,7 +21,7 @@ "postcss-scss": "^4.0.9", "stylelint": "^16.6.1", "stylelint-order": "^6.0.4", - "stylelint-scss": "^6.2.1" + "stylelint-scss": "^6.3.2" } }, "node_modules/@babel/code-frame": { @@ -2370,15 +2370,15 @@ } }, "node_modules/stylelint-scss": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.2.1.tgz", - "integrity": "sha512-ZoGLbVb1keZYRVGQlhB8G6sZOoNqw61whzzzGFWp05N12ErqLFfBv3JPrXiMLZaW98sBS7K/vUQhRnvUj4vwdw==", + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.3.2.tgz", + "integrity": "sha512-pNk9mXOVKkQtd+SROPC9io8ISSgX+tOVPhFdBE+LaKQnJMLdWPbGKAGYv4Wmf/RrnOjkutunNTN9kKMhkdE5qA==", "dev": true, "dependencies": { - "known-css-properties": "^0.29.0", + "known-css-properties": "^0.31.0", "postcss-media-query-parser": "^0.2.3", "postcss-resolve-nested-selector": "^0.1.1", - "postcss-selector-parser": "^6.0.15", + "postcss-selector-parser": "^6.1.0", "postcss-value-parser": "^4.2.0" }, "engines": { @@ -2388,12 +2388,6 @@ "stylelint": "^16.0.2" } }, - "node_modules/stylelint-scss/node_modules/known-css-properties": { - "version": "0.29.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.29.0.tgz", - "integrity": "sha512-Ne7wqW7/9Cz54PDt4I3tcV+hAyat8ypyOGzYRJQfdxnnjeWsTxt1cy8pjvvKeI5kfXuyvULyeeAvwvvtAX3ayQ==", - "dev": true - }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", diff --git a/package.json b/package.json index ae4cead45..ae095c13d 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,6 @@ "postcss-scss": "^4.0.9", "stylelint": "^16.6.1", "stylelint-order": "^6.0.4", - "stylelint-scss": "^6.2.1" + "stylelint-scss": "^6.3.2" } } From c524db9c7b1dcd494264c72558804c7b4366e251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Tue, 2 Jul 2024 20:30:59 +0200 Subject: [PATCH 2/2] Add scss/at-mixin-no-risky-nesting-selector rule This rule was added in stylelint-scss 6.3.0. We've always used it so far, so we're adding it to make sure we remain using it, since it prevents a pattern in mixins that makes the code confusing. --- .stylelintrc.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.stylelintrc.yml b/.stylelintrc.yml index 778a41fc6..ac7064647 100644 --- a/.stylelintrc.yml +++ b/.stylelintrc.yml @@ -58,6 +58,7 @@ rules: scss/at-if-closing-brace-newline-after: always-last-in-chain scss/at-if-closing-brace-space-after: always-intermediate scss/at-import-partial-extension: never + scss/at-mixin-no-risky-nesting-selector: true scss/at-mixin-pattern: "^(-?[a-z][a-z0-9]*)(-[a-z0-9]+)*$" scss/dollar-variable-colon-space-before: never scss/dollar-variable-pattern: "^(-?[a-z][a-z0-9]*)(-[a-z0-9]+)*$"