forked from oppia/oppia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
37 lines (36 loc) · 1.06 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
{
"extends": ["stylelint-config-recommended", "stylelint-config-html"],
"plugins": ["stylelint-order"],
"rules": {
"no-duplicate-selectors": true,
"no-empty-source": null,
"selector-type-no-unknown": [
true,
{
"ignore": ["custom-elements"]
}
],
"block-closing-brace-newline-after": "always",
"block-closing-brace-newline-before": "always-multi-line",
"block-closing-brace-space-before": "always-single-line",
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-space-after": "always-single-line",
"block-opening-brace-space-before": "always",
"color-hex-case": "lower",
"color-hex-length": "short",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"no-descending-specificity": null,
"order/properties-alphabetical-order": true,
"length-zero-no-unit": true
},
"overrides": [
{
"files": ["**/*.css"],
"rules": {
"indentation": 2,
"no-descending-specificity": true
}
}
]
}