-
Notifications
You must be signed in to change notification settings - Fork 218
/
Copy path.stylelintrc.json
executable file
·34 lines (34 loc) · 1.14 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
{
"plugins": ["stylelint-header"],
"extends": [],
"rules": {
"header/header": ["config/license.js", {}]
},
"overrides": [
{
"files": [
"!packages/**/src/spectrum-*.css",
"!tools/**/src/spectrum-*.css",
"!tools/styles/**/*.css"
],
"extends": ["stylelint-config-standard"],
"rules": {
"header/header": ["config/license.js", {}],
"length-zero-no-unit": [
true,
{ "ignore": "custom-properties" }
],
"selector-type-no-unknown": [
true,
{ "ignore": ["custom-elements"] }
],
"selector-pseudo-element-colon-notation": ["single", {}],
"custom-property-pattern": "^_?([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
"no-duplicate-selectors": null,
"selector-class-pattern": null,
"no-descending-specificity": null,
"declaration-block-no-redundant-longhand-properties": null
}
}
]
}