-
Notifications
You must be signed in to change notification settings - Fork 3
/
.stylelintrc.json
52 lines (52 loc) · 1.65 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
{
"extends": [
"stylelint-config-standard"
],
"fix": true,
"formatter": "verbose",
"plugins": [
"stylelint-scss"
],
"rules": {
"selector-list-comma-newline-after": "always",
"selector-type-case": "lower",
"at-rule-no-unknown": null,
"scss/at-rule-no-unknown": true,
"declaration-empty-line-before": "never",
"rule-empty-line-before": [ "always-multi-line", {
"except": ["inside-block"],
"ignore": ["after-comment"]
}],
"no-descending-specificity": true,
"declaration-block-no-duplicate-properties": true,
"declaration-colon-space-after": "always-single-line",
"at-rule-whitelist": ["include", "import", "keyframes", "mixin", "extend", "media"],
"string-quotes": "double",
"no-duplicate-selectors": true,
"color-named": "never",
"color-hex-length": "long",
"color-hex-case": "lower",
"selector-attribute-quotes": "always",
"declaration-block-trailing-semicolon": "always",
"declaration-colon-space-before": "never",
"property-no-vendor-prefix": true,
"value-no-vendor-prefix": true,
"number-leading-zero": "always",
"function-url-quotes": "always",
"font-family-name-quotes": "always-unless-keyword",
"at-rule-no-vendor-prefix": true,
"selector-no-vendor-prefix": true,
"media-feature-name-no-vendor-prefix": true,
"max-empty-lines": 2,
"property-no-unknown": [true, {
"ignoreProperties": ["composes"]
}],
"selector-pseudo-class-no-unknown": [true, {
"ignorePseudoClasses": ["global"]
}],
"selector-pseudo-element-no-unknown": [true, {
"ignorePseudoElements": ["global"]
}]
},
"syntax": "scss"
}