-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.stylelintrc.json
45 lines (44 loc) · 1.17 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
{
"extends": ["stylelint-config-recommended", "stylelint-config-recess-order"],
"overrides": [
{
"files": ["**/*.tsx"],
"customSyntax": "@stylelint/postcss-css-in-js"
}
],
"plugins": ["stylelint-declaration-strict-value"],
"rules": {
"at-rule-empty-line-before": null,
"color-function-notation": "legacy",
"color-hex-case": "lower",
"color-hex-length": "long",
"custom-property-empty-line-before": null,
"declaration-empty-line-before": "never",
"function-name-case": [
"lower",
{
"ignoreFunctions": "/^[a-z_](|[a-zA-Z0-9]+)$/"
}
],
"keyframes-name-pattern": "^[a-z][a-zA-Z0-9_]+$",
"max-nesting-depth": 6,
"no-descending-specificity": null,
"no-invalid-position-at-import-rule": null,
"number-leading-zero": "always",
"property-no-vendor-prefix": [
true,
{
"ignoreProperties": ["appearance", "background-clip"]
}
],
"selector-max-id": 0,
"selector-class-pattern": "^[a-z](|[a-zA-Z0-9]+)$",
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
],
"string-quotes": "single"
}
}