diff --git a/.stylelintrc.yaml b/.stylelintrc.yaml index 74fc85eba9c..a47f1b2afbb 100644 --- a/.stylelintrc.yaml +++ b/.stylelintrc.yaml @@ -44,7 +44,6 @@ rules: value-keyword-case: lower - scss/at-import-no-partial-leading-underscore: true scss/at-import-partial-extension: never scss/at-function-pattern: ^([a-z][a-z0-9]*)(-[a-z0-9]+)*$ scss/at-mixin-argumentless-call-parentheses: always @@ -55,6 +54,7 @@ rules: scss/double-slash-comment-whitespace-inside: always scss/declaration-nested-properties: never scss/dimension-no-non-numeric-values: true + scss/load-no-partial-leading-underscore: true scss/media-feature-value-dollar-variable: - always - ignore: [keywords] diff --git a/package-lock.json b/package-lock.json index 46db3d03099..a348f8f24cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -159,12 +159,12 @@ "sass-loader": "^14.1.1", "script-loader": "^0.7.2", "semver": "^7.3.7", - "stylelint": "^15.10.2", + "stylelint": "^15.11.0", "stylelint-config-prettier": "^9.0.5", - "stylelint-config-recommended-scss": "^12.0.0", + "stylelint-config-recommended-scss": "^13.1.0", "stylelint-prettier": "^1.2.0", "stylelint-scss": "^5.0.1", - "stylelint-stylistic": "^0.4.3", + "stylelint-stylistic": "^0.4.5", "terser-webpack-plugin": "^5.3.3", "uglify-js": "^3.16.0", "webpack": "^5.73.0", @@ -16214,27 +16214,30 @@ } }, "node_modules/stylelint-config-recommended": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-12.0.0.tgz", - "integrity": "sha512-x6x8QNARrGO2sG6iURkzqL+Dp+4bJorPMMRNPScdvaUK8PsynriOcMW7AFDKqkWAS5wbue/u8fUT/4ynzcmqdQ==", + "version": "13.0.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-13.0.0.tgz", + "integrity": "sha512-EH+yRj6h3GAe/fRiyaoO2F9l9Tgg50AOFhaszyfov9v6ayXJ1IkSHwTxd7lB48FmOeSGDPLjatjO11fJpmarkQ==", "dev": true, + "engines": { + "node": "^14.13.1 || >=16.0.0" + }, "peerDependencies": { - "stylelint": "^15.5.0" + "stylelint": "^15.10.0" } }, "node_modules/stylelint-config-recommended-scss": { - "version": "12.0.0", - "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-12.0.0.tgz", - "integrity": "sha512-5Bb2mlGy6WLa30oNeKpZvavv2lowJUsUJO25+OA68GFTemlwd1zbFsL7q0bReKipOSU3sG47hKneZ6Nd+ctrFA==", + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-13.1.0.tgz", + "integrity": "sha512-8L5nDfd+YH6AOoBGKmhH8pLWF1dpfY816JtGMePcBqqSsLU+Ysawx44fQSlMOJ2xTfI9yTGpup5JU77c17w1Ww==", "dev": true, "dependencies": { - "postcss-scss": "^4.0.6", - "stylelint-config-recommended": "^12.0.0", - "stylelint-scss": "^5.0.0" + "postcss-scss": "^4.0.9", + "stylelint-config-recommended": "^13.0.0", + "stylelint-scss": "^5.3.0" }, "peerDependencies": { "postcss": "^8.3.3", - "stylelint": "^15.5.0" + "stylelint": "^15.10.0" }, "peerDependenciesMeta": { "postcss": { diff --git a/package.json b/package.json index 76371ae4b3d..376cb6a3530 100644 --- a/package.json +++ b/package.json @@ -157,12 +157,12 @@ "sass-loader": "^14.1.1", "script-loader": "^0.7.2", "semver": "^7.3.7", - "stylelint": "^15.10.2", + "stylelint": "^15.11.0", "stylelint-config-prettier": "^9.0.5", - "stylelint-config-recommended-scss": "^12.0.0", + "stylelint-config-recommended-scss": "^13.1.0", "stylelint-prettier": "^1.2.0", "stylelint-scss": "^5.0.1", - "stylelint-stylistic": "^0.4.3", + "stylelint-stylistic": "^0.4.5", "terser-webpack-plugin": "^5.3.3", "uglify-js": "^3.16.0", "webpack": "^5.73.0",