-
Notifications
You must be signed in to change notification settings - Fork 6
/
.stylelintrc.json
56 lines (48 loc) · 1.36 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
51
52
53
54
55
56
{
"extends": [
"stylelint-config-standard-scss"
],
"ignoreFiles": [
"**/_variables.scss"
],
"plugins": [
"stylelint-declaration-strict-value"
],
"rules": {
"font-family-name-quotes": "always-unless-keyword",
"value-keyword-case": "lower",
"value-no-vendor-prefix": true,
"selector-class-pattern": "^([a-z][a-z0-9]*)((-|--|_|__)[a-z0-9]+)*$",
"selector-attribute-quotes": "always",
"selector-max-id": 0,
"selector-no-vendor-prefix": true,
"selector-pseudo-element-colon-notation": "single",
"no-duplicate-selectors": true,
"selector-max-specificity": "1,3,1",
"scss/no-global-function-names": null,
"scss/dollar-variable-pattern": "^([a-z][a-z0-9]*)((-|--|_|__)[a-z0-9]+)*$",
"scss/at-extend-no-missing-placeholder": null,
"alpha-value-notation": null,
"color-function-notation": null,
"at-rule-empty-line-before": [ "always", {
"except": ["first-nested"],
"ignore": [
"blockless-after-blockless",
"after-comment"
]
}],
"at-rule-no-unknown": [ true, {
"ignoreAtRules": [
"extend",
"include",
"mixin",
"use"
]
}],
"max-nesting-depth": 2,
"scale-unlimited/declaration-strict-value": ["/color/", {
"ignoreKeywords": ["inherit", "transparent"]
}],
"declaration-empty-line-before": null
}
}