-
Notifications
You must be signed in to change notification settings - Fork 12
/
.stylelintrc.json
50 lines (50 loc) · 1.46 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
43
44
45
46
47
48
49
50
{
"extends": [
"stylelint-config-standard",
"stylelint-config-standard-scss"
],
"ignoreFiles": ["/coverage/**/*"],
"plugins": [
"stylelint-order",
"stylelint-scss"
],
"rules": {
"scss/at-rule-no-unknown": true,
"selector-pseudo-element-no-unknown": [true, {
"ignorePseudoElements": ["ng-deep"]
}],
"order/order": ["custom-properties", "declarations"],
"order/properties-alphabetical-order": true,
"at-rule-empty-line-before": "never",
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"font-family-no-missing-generic-family-keyword": null,
"indentation": 4,
"selector-type-no-unknown": null,
"selector-class-pattern": "^([a-z][a-z0-9]*)(-*[a-z0-9]+)*$",
"scss/dollar-variable-pattern": "^foo",
"scss/selector-no-redundant-nesting-selector": true,
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"selector-class-pattern",
"at-root",
"content",
"each",
"else",
"extend",
"for",
"function",
"if",
"include",
"mixin",
"return",
"warn",
"while",
"use"
]
}
]
}
}