-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc
31 lines (31 loc) · 1.05 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
{
"plugins": [
"stylelint-statement-max-nesting-depth"
],
"rules": {
"block-no-empty": true,
"color-no-invalid-hex": true,
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"function-comma-space-after": "always",
"function-url-quotes": "single",
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-name-no-vendor-prefix": true,
"max-empty-lines": 2,
"number-leading-zero": "always",
"number-no-trailing-zeros": true,
"property-no-vendor-prefix": true,
"declaration-block-no-duplicate-properties": true,
"block-no-single-line": true,
"declaration-block-trailing-semicolon": "always",
"selector-list-comma-newline-after": "always-multi-line",
"selector-no-id": true,
"string-quotes": "single",
"value-no-vendor-prefix": true,
"function-linear-gradient-no-nonstandard-direction": true,
"declaration-block-no-shorthand-property-overrides": true,
"indentation": 2,
"statement-max-nesting-depth": [3, { countAtRules: false }],
}
}