-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc.json
42 lines (42 loc) · 1.4 KB
/
.stylelintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"extends": "stylelint-config-recommended",
"plugins": [
"@ronilaukkarinen/stylelint-a11y",
"stylelint-high-performance-animation",
"stylelint-order",
"stylelint-declaration-strict-value"
],
"rules": {
"block-opening-brace-newline-before": "always",
"a11y/no-outline-none": true,
"a11y/selector-pseudo-class-focus": true,
"order/order": ["custom-properties", "declarations"],
"color-named": "never",
"scale-unlimited/declaration-strict-value": [["/color$/", "z-index", "font-size"]],
"font-family-name-quotes": "always-where-required",
"font-weight-notation": "named-where-possible",
"function-url-no-scheme-relative": true,
"function-url-quotes": "always",
"value-keyword-case": "lower",
"plugin/no-low-performance-animation-properties": [
true,
{
"ignoreProperties": ["color", "background-color", "box-shadow"]
}
],
"unit-disallowed-list": [],
"no-descending-specificity": true,
"no-duplicate-selectors": true,
"font-family-no-missing-generic-family-keyword": null,
"property-no-unknown": [
true,
{
"ignoreProperties": ["/^lost-/"]
}
],
"selector-pseudo-class-no-unknown": [true, { "ignorePseudoClasses": ["global"] }]
},
"ignoreFiles": ["node_modules/*", "src/assets/**", "build/**", "src/styles/reset.css"],
"defaultSeverity": "error",
"customSyntax": "postcss-html"
}