-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.stylelintrc.json
53 lines (53 loc) · 2 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
{
"extends": "stylelint-config-recommended-scss",
"plugins": [
"stylelint-scss"
],
"rules": {
"at-rule-no-vendor-prefix": true,
"at-rule-empty-line-before": [ "always", {
"except": ["blockless-after-blockless", "blockless-after-same-name-blockless", "first-nested"],
"ignore": ["after-comment"],
"ignoreAtRules": ["else", "else if"]
} ],
"block-no-empty": true,
"color-hex-length": "short",
"color-named": "never",
"color-no-invalid-hex": true,
"comment-empty-line-before": "always",
"comment-whitespace-inside": "always",
"declaration-block-no-duplicate-properties": true,
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-single-line-max-declarations": 1,
"font-family-name-quotes": "always-where-recommended",
"font-weight-notation": "named-where-possible",
"function-calc-no-unspaced-operator": true,
"function-url-quotes": "always",
"length-zero-no-unit": true,
"no-descending-specificity": null,
"no-duplicate-selectors": true,
"property-no-vendor-prefix": [true, {
"ignoreProperties": ["appearance", "text-size-adjust"]
}],
"rule-empty-line-before": ["always", {
"except": ["after-single-line-comment", "first-nested"],
"ignore": ["after-comment"]
}],
"scss/at-else-closing-brace-newline-after": "always-last-in-chain",
"scss/at-else-closing-brace-space-after": "always-intermediate",
"scss/at-else-empty-line-before": "never",
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
"scss/at-if-closing-brace-space-after": "always-intermediate",
"scss/no-global-function-names": null,
"selector-attribute-quotes": "always",
"selector-max-id": 0,
"selector-no-qualifying-type": [true, {
"ignore": ["attribute", "class"]
}],
"selector-pseudo-class-no-unknown": [true, {
"ignorePseudoClasses": ["enter"]
}],
"selector-pseudo-element-colon-notation": "double",
"value-no-vendor-prefix": true
}
}