This repository has been archived by the owner on Feb 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 238
/
.stylelintrc.json
58 lines (58 loc) · 2.05 KB
/
.stylelintrc.json
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
51
52
53
54
55
56
57
58
{
"extends": "stylelint-config-recommended",
"ignoreFiles": [
"ext/lib/**/*.css"
],
"rules": {
"font-family-name-quotes": "always-where-recommended",
"string-quotes": "single",
"color-named": "never",
"declaration-no-important": true,
"function-calc-no-unspaced-operator": true,
"string-no-newline": true,
"unit-no-unknown": true,
"block-no-empty": true,
"no-extra-semicolons": true,
"no-invalid-double-slash-comments": true,
"font-weight-notation": "named-where-possible",
"color-hex-case": "lower",
"function-comma-space-after": "always",
"function-comma-space-before": "never",
"function-name-case": "lower",
"function-parentheses-space-inside": "never",
"function-whitespace-after": "always",
"number-leading-zero": "always",
"number-no-trailing-zeros": true,
"unit-case": "lower",
"value-keyword-case": [
"lower",
{
"camelCaseSvgKeywords": true
}
],
"property-case": "lower",
"indentation": 4,
"max-empty-lines": 2,
"selector-type-no-unknown": null,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"selector-combinator-space-before": "never",
"selector-combinator-space-after": "never",
"selector-list-comma-newline-after": "always-multi-line",
"rule-empty-line-before": null,
"block-opening-brace-space-before": [
"always",
{
"ignoreSelectors": "/^\\.icon/"
}
],
"block-opening-brace-space-after": "always-single-line",
"color-hex-length": null,
"declaration-colon-space-before": "never",
"declaration-colon-space-after": "always-single-line",
"length-zero-no-unit": null,
"selector-pseudo-element-colon-notation": "double",
"custom-property-empty-line-before": null,
"at-rule-empty-line-before": null
}
}