diff --git a/package-lock.json b/package-lock.json index 0cee3699a8c..7d67cfa83a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -103,7 +103,7 @@ "material-icon-theme": "5.24.0", "nolyfill": "1.0.44", "postcss-html": "1.8.0", - "stylelint": "16.23.0", + "stylelint": "16.23.1", "stylelint-config-recommended": "17.0.0", "stylelint-declaration-block-no-ignored-properties": "2.8.0", "stylelint-declaration-strict-value": "1.10.11", @@ -12263,9 +12263,9 @@ "license": "ISC" }, "node_modules/stylelint": { - "version": "16.23.0", - "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.23.0.tgz", - "integrity": "sha512-69T5aS2LUY306ekt1Q1oaSPwz/jaG9HjyMix3UMrai1iEbuOafBe2Dh8xlyczrxFAy89qcKyZWWtc42XLx3Bbw==", + "version": "16.23.1", + "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.23.1.tgz", + "integrity": "sha512-dNvDTsKV1U2YtiUDfe9d2gp902veFeo3ecCWdGlmLm2WFrAV0+L5LoOj/qHSBABQwMsZPJwfC4bf39mQm1S5zw==", "dev": true, "funding": [ { diff --git a/package.json b/package.json index 8d12276d27a..8109c40eb09 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "material-icon-theme": "5.24.0", "nolyfill": "1.0.44", "postcss-html": "1.8.0", - "stylelint": "16.23.0", + "stylelint": "16.23.1", "stylelint-config-recommended": "17.0.0", "stylelint-declaration-block-no-ignored-properties": "2.8.0", "stylelint-declaration-strict-value": "1.10.11", diff --git a/stylelint.config.js b/stylelint.config.js index c57c1fd3a33..bd11307b531 100644 --- a/stylelint.config.js +++ b/stylelint.config.js @@ -10,6 +10,9 @@ const cssVarFiles = [ export default defineConfig({ extends: 'stylelint-config-recommended', + reportUnscopedDisables: true, + reportNeedlessDisables: true, + reportInvalidScopeDisables: true, plugins: [ 'stylelint-declaration-strict-value', 'stylelint-declaration-block-no-ignored-properties', diff --git a/web_src/css/features/colorpicker.css b/web_src/css/features/colorpicker.css index 4c517e63480..a353532f4e5 100644 --- a/web_src/css/features/colorpicker.css +++ b/web_src/css/features/colorpicker.css @@ -15,7 +15,7 @@ top: 50%; transform: translateY(-50%); border-radius: 2px; - background: repeating-linear-gradient(45deg, #aaa 25%, transparent 25%, transparent 75%, #aaa 75%, #aaa), repeating-linear-gradient(45deg, #aaa 25%, #fff 25%, #fff 75%, #aaa 75%, #aaa); /* stylelint-disable-line scale-unlimited/declaration-strict-value */ + background: repeating-linear-gradient(45deg, #aaa 25%, transparent 25%, transparent 75%, #aaa 75%, #aaa), repeating-linear-gradient(45deg, #aaa 25%, #fff 25%, #fff 75%, #aaa 75%, #aaa); background-position: 0 0, 4px 4px; background-size: 8px 8px; } diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 14db7d07e6b..5238e3a2e52 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -1672,7 +1672,7 @@ tbody.commit-list { .diff-file-header .file-link { max-width: fit-content; display: -webkit-box; - -webkit-box-orient: vertical; /* stylelint-disable property-no-deprecated -- https://github.com/stylelint/stylelint/issues/8698 */ + -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere;