-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
33 lines (33 loc) · 1.3 KB
/
.stylelintrc
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
{
"plugins": ["stylelint-scss"],
"extends": ["stylelint-config-standard", "stylelint-config-standard-scss"],
"ignoreFiles": ["dist/styles.css", "dist/test-styles.css", "dist/styles.min.css"],
"rules": {
"no-duplicate-selectors": true,
"no-duplicate-at-import-rules": true,
"declaration-no-important": true,
"declaration-block-no-duplicate-properties": true,
"color-no-hex": null,
"at-rule-no-unknown": null,
"scss/selector-no-redundant-nesting-selector": true,
"block-no-empty": true,
"comment-no-empty": true,
"no-empty-source": null,
"function-calc-no-unspaced-operator": true,
"keyframe-declaration-no-important": true,
"media-query-no-invalid": true,
"number-max-precision": 3,
"declaration-block-single-line-max-declarations": 1,
"font-weight-notation": "numeric",
"selector-type-case": "lower",
"custom-property-pattern": "sp-.+",
"keyframes-name-pattern": "sp-.+",
"function-name-case": "lower",
"value-keyword-case": "lower",
"scss/operator-no-unspaced": true,
"selector-attribute-quotes": "always",
"comment-empty-line-before": "always",
"color-hex-length": "long",
"color-named": "never"
}
}