61 lines
1.9 KiB
JSON
61 lines
1.9 KiB
JSON
{
|
|
"extends": [
|
|
"stylelint-config-recommended-scss",
|
|
"@stylistic/stylelint-config",
|
|
"stylelint-config-clean-order/error"
|
|
],
|
|
"ignoreFiles": [
|
|
"dist/*.css",
|
|
"src/styles/icons.scss"
|
|
],
|
|
"plugins": [
|
|
"@stylistic/stylelint-plugin",
|
|
"stylelint-declaration-block-no-ignored-properties",
|
|
"stylelint-high-performance-animation",
|
|
"stylelint-group-selectors",
|
|
"stylelint-selector-tag-no-without-class",
|
|
"./dev/wholePixel.mjs"
|
|
],
|
|
"rules": {
|
|
"property-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreProperties": [
|
|
"composes",
|
|
"compose-with"
|
|
]
|
|
}
|
|
],
|
|
"selector-attribute-quotes": "always",
|
|
"scss/operator-no-unspaced": null,
|
|
"no-descending-specificity": null,
|
|
"plugin/declaration-block-no-ignored-properties": true,
|
|
"plugin/no-low-performance-animation-properties": [
|
|
true,
|
|
{
|
|
"ignore": "paint-properties"
|
|
}
|
|
],
|
|
"plugin/stylelint-group-selectors": [true, { "severity": "warning" }],
|
|
"plugin/whole-pixel": [true, { "ignoreList": ["letter-spacing"] }],
|
|
"selector-pseudo-class-no-unknown": [
|
|
true,
|
|
{
|
|
"ignorePseudoClasses": ["global"]
|
|
}
|
|
],
|
|
"plugin/selector-tag-no-without-class": ["/^(?!body|html)([^_-]*)$/", { "severity": "warning" }],
|
|
"@stylistic/number-leading-zero": "always",
|
|
"@stylistic/string-quotes": null,
|
|
"@stylistic/color-hex-case": null,
|
|
"@stylistic/selector-list-comma-newline-after": null,
|
|
"@stylistic/block-closing-brace-newline-after": null,
|
|
"@stylistic/indentation": [2, { "ignore": ["value"] }],
|
|
"at-rule-empty-line-before": ["always", { "ignore": ["first-nested", "after-comment", "blockless-after-blockless"] }],
|
|
"rule-empty-line-before": ["always", {
|
|
"except": ["after-single-line-comment", "first-nested"],
|
|
"ignore": ["after-comment", "inside-block"]
|
|
}]
|
|
}
|
|
}
|