-
Notifications
You must be signed in to change notification settings - Fork 51
/
.stylelintrc.json
42 lines (42 loc) · 950 Bytes
/
.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
{
"plugins": [
"stylelint-prettier",
"stylelint-no-unsupported-browser-features"
],
"extends": [
"stylelint-config-standard",
"stylelint-config-sass-guidelines",
"stylelint-order",
"stylelint-a11y/recommended",
"stylelint-prettier/recommended"
],
"rules": {
"alpha-value-notation": "number",
"color-function-notation": "legacy",
"selector-class-pattern": "^(?:ais-|uni-)[A-Z][a-zA-Z0-9]+[-a-zA-Z0-9]+$|^(?!ais-|uni-)(?:[a-z][a-z0-9]+)(?:-[a-z0-9]+)+$",
"prettier/prettier": true,
"max-nesting-depth": [
2,
{
"ignore": [
"pseudo-classes"
],
"ignoreAtRules": [
"media"
]
}
],
"plugin/no-unsupported-browser-features": [
null,
{
"severity": "warning"
}
],
"value-keyword-case": [
"lower",
{
"ignoreKeywords": ["currentColor", "optimizeSpeed"]
}
]
}
}