-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Expand file tree
/
Copy path.stylelintrc.json
More file actions
22 lines (22 loc) · 690 Bytes
/
.stylelintrc.json
File metadata and controls
22 lines (22 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"extends": "stylelint-config-standard",
"rules": {
"declaration-block-single-line-max-declarations": 3,
"selector-class-pattern": "maplibregl-[a-z-]+",
"at-rule-no-unknown": [true, {
"ignoreAtRules": ["svg-load"]
}],
"declaration-property-value-no-unknown": [true, {
"ignoreProperties": { "background-image": ["/^svg-load/", "/^svg-inline/"] }
}],
"property-no-vendor-prefix": true,
"function-no-unknown": [true, {
"ignoreFunctions": ["svg-load", "svg-inline"]
}],
"function-disallowed-list": ["/^rgb\\((?!\\d+,\\s*\\d+,\\s*\\d+\\))/"],
"alpha-value-notation": "number"
},
"ignoreFiles": [
"dist/**/*.css"
]
}