mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-09 15:32:20 +00:00
Update stylelint, enable report*
options (#35236)
- Update stylelint - Enable three [`report*` directives](https://stylelint.io/user-guide/configure/#report) - Fix discovered issues
This commit is contained in:
parent
ef613ee760
commit
c4c1a4bd18
8
package-lock.json
generated
8
package-lock.json
generated
@ -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": [
|
||||
{
|
||||
|
@ -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",
|
||||
|
@ -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',
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user