1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-06 01:28:20 +00:00

add stylelint-stylistic (#25285)

Add
[stylelint-stylistic](https://github.com/elirasza/stylelint-stylistic),
autofix all issues with two manual tweaks. This restores all the
stylistic rules removed in Stylelint 15.
This commit is contained in:
silverwind
2023-06-17 15:20:32 +02:00
committed by GitHub
parent 69b1e2f103
commit 3ee8970419
13 changed files with 108 additions and 27 deletions

16
package-lock.json generated
View File

@@ -76,6 +76,7 @@
"postcss-html": "1.5.0",
"stylelint": "15.7.0",
"stylelint-declaration-strict-value": "1.9.2",
"stylelint-stylistic": "0.4.2",
"svgo": "3.0.2",
"updates": "14.1.1",
"vitest": "0.32.0"
@@ -9789,6 +9790,21 @@
"stylelint": ">=7 <=15"
}
},
"node_modules/stylelint-stylistic": {
"version": "0.4.2",
"resolved": "https://registry.npmjs.org/stylelint-stylistic/-/stylelint-stylistic-0.4.2.tgz",
"integrity": "sha512-WF/fLvotTklG8LZ+fO0nxhu5swVENHhSat2l5ckrmtXpij1P9ybYa56XivOg/E02CH+Ygui5pd2hQrlli3NCDQ==",
"dev": true,
"dependencies": {
"postcss": "^8.4.21",
"postcss-media-query-parser": "^0.2.3",
"postcss-value-parser": "^4.2.0",
"style-search": "^0.1.0"
},
"peerDependencies": {
"stylelint": "^15.0.0"
}
},
"node_modules/stylelint/node_modules/balanced-match": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-2.0.0.tgz",