-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc
40 lines (40 loc) · 1.57 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
34
35
36
37
38
39
40
{
"rules": {
"color-hex-case": "lower",
"color-hex-length": "short",
"color-named": "never",
"color-no-invalid-hex": true,
"custom-property-no-outside-root": true,
"custom-property-pattern": "[a-z0-9-]*",
"declaration-block-no-duplicate-properties": [true, { "ignore": ["consecutive-duplicates"]}],
"declaration-block-no-ignored-properties": true,
"declaration-block-properties-order": [["composes"], { unspecified: "bottomAlphabetical" }],
"declaration-block-single-line-max-declarations": 1,
"declaration-block-trailing-semicolon": "always",
"function-calc-no-unspaced-operator": true,
"function-name-case": "lower",
"indentation": 2,
"max-nesting-depth": 4,
"no-extra-semicolons": true,
"no-unsupported-browser-features": [true, { "browsers": "last 1 version, > 10%" }],
"number-leading-zero": "always",
"number-max-precision": 3,
"number-no-trailing-zeros": true,
"number-zero-length-no-unit": true,
"property-case": "lower",
"property-no-vendor-prefix": true,
"root-no-standard-properties": true,
"selector-pseudo-element-case": "lower",
"selector-pseudo-element-colon-notation": "single",
"selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower",
"shorthand-property-no-redundant-values": true,
"string-no-newline": true,
"stylelint-disable-reason": "always-before",
"unit-case": "lower",
"unit-no-unknown": true,
"value-keyword-case": "lower",
"value-list-comma-newline-after": "never-multi-line",
"value-no-vendor-prefix": true
}
}