-
Notifications
You must be signed in to change notification settings - Fork 4
/
.stylelintrc
30 lines (30 loc) · 1.45 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
{
"plugins": [
"stylelint-scss",
"stylelint-order"
],
"extends": "stylelint-config-standard",
"rules": {
"color-hex-case": ["upper", {"severity": "error"}],
"indentation": [2, {"severity": "error"}],
"color-hex-length": ["long", {"severity": "error"}],
"number-leading-zero": ["never", {"severity": "error"}],
"value-list-comma-space-after": "always",
"selector-no-id": [true, {"severity": "error"}],
"declaration-block-semicolon-newline-after": ["always", {"severity": "error"}],
"number-no-trailing-zeros": [true, {"severity": "error"}],
"length-zero-no-unit": [true, {"severity": "error"}],
"declaration-colon-space-after": ["always", {"severity": "error"}],
"block-closing-brace-newline-before": ["always", {"severity": "error"}],
"block-opening-brace-newline-after": ["always", {"severity": "error"}],
"at-rule-empty-line-before": null,
"shorthand-property-no-redundant-values": null,
"selector-pseudo-element-colon-notation": null,
"declaration-empty-line-before": null,
"declaration-block-no-duplicate-properties": null,
"no-empty-source": null,
"rule-empty-line-before": ["always", {"severity": "error", "except": "first-nested"}],
"order/declaration-block-properties-alphabetical-order": true,
"scss/declaration-nested-properties": ["never", {"severity": "error"}]
}
}