-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc
40 lines (40 loc) · 1.16 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
38
39
40
{
"extends": [
"stylelint-config-recommended",
"stylelint-config-prettier",
"stylelint-config-css-modules",
"stylelint-config-rational-order"
],
"plugins": [
"stylelint-config-rational-order/plugin",
"stylelint-order",
"stylelint-no-unsupported-browser-features"
],
"rules": {
"string-quotes": "single",
"selector-class-pattern": "^[a-z][a-zA-Z0-9]+$",
"custom-property-pattern": "^[a-z][a-zA-Z0-9]+$",
"custom-media-pattern": "^[a-z][a-zA-Z0-9]+$",
"keyframes-name-pattern": "^[a-z][a-zA-Z0-9]+$",
"selector-id-pattern": null,
"declaration-block-no-redundant-longhand-properties": null,
"value-keyword-case": ["lower", { "camelCaseSvgKeywords": true }],
"alpha-value-notation": "number",
"no-descending-specificity": null,
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
],
"declaration-block-trailing-semicolon": null,
"function-parentheses-space-inside": null,
"max-nesting-depth": [
3,
{
"ignore": ["pseudo-classes", "blockless-at-rules"]
}
],
"order/properties-alphabetical-order": null
}
}