forked from Magickbase/nervos-official-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.json
40 lines (40 loc) · 905 Bytes
/
.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
{
"overrides": [
{
"files": ["**/*.scss"],
"customSyntax": "postcss-scss"
}
],
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-rational-order",
"stylelint-config-css-modules",
"stylelint-config-prettier-scss"
],
"rules": {
"selector-class-pattern": [
"^[a-z][a-zA-Z0-9]*$",
{
"message": "Expected class selector to be lowerCamelCase"
}
],
"custom-property-pattern": [
"^[a-z][a-zA-Z0-9]*$",
{
"message": "Expected custom property name to be lowerCamelCase"
}
],
"scss/dollar-variable-pattern": [
"^[a-z][a-zA-Z0-9]*$",
{
"message": "Expected variable to be lowerCamelCase"
}
],
"scss/percent-placeholder-pattern": [
"^[a-z][a-zA-Z0-9]*$",
{
"message": "Expected placeholder to be lowerCamelCase"
}
]
}
}