-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.stylelintrc
More file actions
45 lines (45 loc) · 1.66 KB
/
.stylelintrc
File metadata and controls
45 lines (45 loc) · 1.66 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
{
"extends": ["stylelint-config-prettier", "stylelint-config-standard-scss"],
"plugins": ["stylelint-order"],
"ignoreFiles": [],
"rules": {
"block-closing-brace-newline-before": ["always"],
"block-no-empty": true,
"block-opening-brace-newline-after": ["always"],
"color-hex-case": "lower",
"color-hex-length": "short",
"color-no-invalid-hex": true,
"declaration-block-trailing-semicolon": "always",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"indentation": 4,
"length-zero-no-unit": true,
"max-empty-lines": 1,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"no-eol-whitespace": true,
"no-extra-semicolons": true,
"no-missing-end-of-source-newline": true,
"number-leading-zero": "always",
"number-no-trailing-zeros": true,
"order/properties-alphabetical-order": true,
"property-case": "lower",
"rule-empty-line-before": [
"always-multi-line",
{
"except": ["first-nested"],
"ignore": ["after-comment"]
}
],
"selector-class-pattern": ".*",
"selector-list-comma-newline-after": "always",
"selector-list-comma-newline-before": "never-multi-line",
"selector-max-empty-lines": 0,
"selector-max-specificity": "0,4,0",
"selector-max-id": 0,
"selector-pseudo-element-colon-notation": "double",
"string-quotes": "single",
"unit-case": "lower",
"unit-no-unknown": true
}
}