-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.stylelintrc.json
42 lines (42 loc) · 1.01 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
{
"plugins": ["stylelint-declaration-strict-value"],
"extends": ["stylelint-config-standard-scss", "stylelint-config-css-modules"],
"rules": {
"declaration-colon-newline-after": null,
"value-list-comma-newline-after": null,
"string-quotes": null,
"font-family-name-quotes": null,
"selector-class-pattern": [
"^[a-z][a-zA-Z0-9]*$",
{
"message": "Expected selector name to be camelCase"
}
],
"scss/dollar-variable-pattern": [
"^[a-z][a-zA-Z0-9]*$",
{
"message": "Expected variable name to be camelCase"
}
],
"unit-disallowed-list": [
"px",
{
"ignoreProperties": {
"px": ["/^border/"]
}
}
],
"scale-unlimited/declaration-strict-value": [
["/color$/", "fill", "stroke"],
{
"ignoreValues": ["currentColor", "inherit", "transparent"]
}
],
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["use", "for", "include", "mixin"]
}
]
}
}