forked from adobe/spectrum-web-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.json
executable file
·28 lines (28 loc) · 995 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
{
"plugins": ["./linters/stylelint-header"],
"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
},
"overrides": [
{
"files": [
"packages/**/src/spectrum-*.css",
"tools/**/src/spectrum-*.css",
"tools/styles/**/*.css"
],
"extends": [],
"rules": {
"header/header": ["config/license.js", {}]
}
}
]
}