-
Notifications
You must be signed in to change notification settings - Fork 4
/
.stylelintrc.json
62 lines (53 loc) · 1.6 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
57
58
59
60
61
62
{
"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,
"block-opening-brace-newline-after": "always",
"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,
"no-extra-semicolons": true,
"scss/dollar-variable-pattern": "^([a-z][a-z0-9]*)((-|--|_|__)[a-z0-9]+)*$",
"declaration-colon-newline-after": null,
"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"
]
}],
"indentation": 4,
"max-nesting-depth": 3,
"scale-unlimited/declaration-strict-value": ["/color/", {
"ignoreKeywords": ["inherit", "transparent"]
}],
"declaration-empty-line-before": null,
"declaration-block-no-redundant-longhand-properties": null,
"property-no-vendor-prefix": null
}
}