forked from EtherealEngine/etherealengine
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc.json
33 lines (33 loc) Β· 972 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
{
"extends": ["stylelint-config-standard-scss"],
"plugins": ["stylelint-scss"],
"overrides": [
{
"files": ["packages/**/*.scss"],
"customSyntax": "postcss-scss"
}
],
"rules": {
"scss/at-import-partial-extension": null,
"scss/no-global-function-names": null,
"at-rule-no-unknown": null,
"no-descending-specificity": null,
"indentation": 2,
"number-leading-zero": null,
"property-no-vendor-prefix": null,
"font-family-no-missing-generic-family-keyword": null,
"selector-pseudo-class-no-unknown": null,
"selector-class-pattern": [
"(^[a-z][a-zA-Z0-9]+$)|(^([a-z][a-z0-9]*)(-[a-z0-9]+)*$)|(^([A-Z][a-zA-Z0-9]*)(-[a-zA-Z0-9]+)*$)"
],
"keyframes-name-pattern": "^[a-z][a-zA-Z0-9]+$",
"custom-property-pattern": "^[a-z][a-zA-Z0-9]+$",
"scss/dollar-variable-pattern": "^[A-Z][a-zA-Z0-9]+$",
"number-max-precision": [
4,
{
"severity": "warning"
}
]
}
}