mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-27 00:01:06 +00:00
Fix stylelint scss config to use main config file
This commit is contained in:
parent
f6d63c2b84
commit
d611b647a9
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"stylelint-no-browser-hacks/lib"
|
"stylelint-no-browser-hacks/lib"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"at-rule-empty-line-before": [ "always", {
|
"at-rule-empty-line-before": [ "always", {
|
||||||
"except": [
|
"except": [
|
||||||
@ -143,5 +143,20 @@
|
|||||||
"value-list-comma-space-after": "always-single-line",
|
"value-list-comma-space-after": "always-single-line",
|
||||||
"value-list-comma-space-before": "never",
|
"value-list-comma-space-before": "never",
|
||||||
"value-list-max-empty-lines": 0
|
"value-list-max-empty-lines": 0
|
||||||
}
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": [
|
||||||
|
"*.scss",
|
||||||
|
"**/*.scss"
|
||||||
|
],
|
||||||
|
"customSyntax": "postcss-scss",
|
||||||
|
"plugins": [ "stylelint-scss" ],
|
||||||
|
"rules": {
|
||||||
|
"at-rule-no-unknown": null,
|
||||||
|
"scss/at-rule-no-unknown": true,
|
||||||
|
"plugin/no-browser-hacks": null
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": [ "./.stylelintrc.json" ],
|
|
||||||
"customSyntax": "postcss-scss",
|
|
||||||
"plugins": [ "stylelint-scss" ],
|
|
||||||
"rules": {
|
|
||||||
"at-rule-no-unknown": null,
|
|
||||||
"scss/at-rule-no-unknown": true,
|
|
||||||
"plugin/no-browser-hacks": null
|
|
||||||
}
|
|
||||||
}
|
|
@ -149,9 +149,7 @@
|
|||||||
"lint": "eslint \"./\"",
|
"lint": "eslint \"./\"",
|
||||||
"test": "vitest --watch=false --config vite.config.ts",
|
"test": "vitest --watch=false --config vite.config.ts",
|
||||||
"test:watch": "vitest --config vite.config.ts",
|
"test:watch": "vitest --config vite.config.ts",
|
||||||
"stylelint": "npm run stylelint:css && npm run stylelint:scss",
|
"stylelint": "stylelint \"src/**/*.{css,scss}\""
|
||||||
"stylelint:css": "stylelint \"src/**/*.css\"",
|
|
||||||
"stylelint:scss": "stylelint --config=\".stylelintrc.scss.json\" \"src/**/*.scss\""
|
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.0.0",
|
"node": ">=20.0.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user