-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.stylelintrc
More file actions
50 lines (50 loc) · 1.93 KB
/
Copy path.stylelintrc
File metadata and controls
50 lines (50 loc) · 1.93 KB
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
{
"rules": {
"indentation": 4,
"selector-list-comma-newline-after": "always",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"block-opening-brace-space-before": "always",
"declaration-block-single-line-max-declarations": 1,
"rule-empty-line-before": ["always", {
"ignore": ["after-comment"],
"except": ["first-nested"]
}],
"comment-empty-line-before": ["always", {
"ignore": ["stylelint-commands"]
}],
"max-nesting-depth": 3,
"max-empty-lines": [1, {
"ignore": ["comments"]
}],
"selector-max-compound-selectors": 3,
"selector-no-qualifying-type": [true, {
"ignore": ["attribute", "class"]
}],
"no-duplicate-selectors": true,
"block-no-empty": true,
"at-rule-empty-line-before": ["always", {
"except": ["first-nested", "after-same-name"]
}],
"at-rule-name-case": "lower",
"color-hex-case": "lower",
"color-hex-length": "short",
"color-no-invalid-hex": true,
"string-quotes": "single",
"value-no-vendor-prefix": true,
"value-list-comma-space-after": "always-single-line",
"shorthand-property-no-redundant-values": true,
"comment-whitespace-inside": "always",
"function-comma-space-after": "always-single-line",
"function-comma-space-before": "never",
"length-zero-no-unit": true,
"number-no-trailing-zeros": true,
"declaration-block-trailing-semicolon": "always",
"declaration-block-no-duplicate-properties": [true, {
"ignore": ["consecutive-duplicates-with-different-values"]
}],
"declaration-block-semicolon-newline-after": "always",
"block-closing-brace-empty-line-before": "never",
"block-closing-brace-newline-before": "always"
}
}