-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
60 lines (60 loc) · 1.59 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
59
60
{
"extends": ["stylelint-config-standard-scss", "stylelint-config-recess-order"],
"overrides": [
{
"files": ["**/*.scss"],
"customSyntax": "postcss-scss"
}
],
"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"]
}
],
"scale-unlimited/declaration-strict-value": [
"color",
{
"ignoreValues": ["inherit", "initial"]
}
],
"scss/at-function-pattern": "^[a-z_](|[a-zA-Z0-9-]+)$",
"scss/at-mixin-pattern": "^[a-z_](|[a-zA-Z0-9]+)$",
"scss/dollar-variable-empty-line-before": null,
"scss/dollar-variable-pattern": [
"^[A-Z0-9_]+$",
{
"ignore": "local"
}
],
"scss/double-slash-comment-empty-line-before": null,
"selector-max-id": 0,
"selector-class-pattern": "^[a-z](|[a-zA-Z0-9]+)$",
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
],
"string-quotes": "single"
}
}