mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-11-16 15:07:32 +01:00
43a25f8738
* update linters, add stylelint, switch from sass to scss * remove unused babel-eslint module * fix spacing in scss files * dont use npm in script calls * dont error for `:deep` selector in css
35 lines
892 B
JSON
35 lines
892 B
JSON
{
|
|
"plugins": ["stylelint-high-performance-animation", "@double-great/stylelint-a11y"],
|
|
"extends": ["stylelint-config-standard", "stylelint-config-sass-guidelines"],
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.scss"],
|
|
"customSyntax": "postcss-scss",
|
|
"rules": {
|
|
"max-nesting-depth": null,
|
|
"selector-max-compound-selectors": null
|
|
}
|
|
},
|
|
{
|
|
"files": ["**/*.css"],
|
|
"rules": {
|
|
"a11y/media-prefers-reduced-motion": true,
|
|
"a11y/no-outline-none": true,
|
|
"a11y/selector-pseudo-class-focus": true,
|
|
"a11y/font-size-is-readable": true
|
|
}
|
|
}
|
|
],
|
|
"rules": {
|
|
"selector-class-pattern": null,
|
|
"selector-id-pattern": null,
|
|
"plugin/no-low-performance-animation-properties": true,
|
|
"selector-pseudo-class-no-unknown": [
|
|
true,
|
|
{
|
|
"ignorePseudoClasses": ["deep"]
|
|
}
|
|
]
|
|
}
|
|
}
|