forked from openedx/frontend-app-publisher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
31 lines (31 loc) · 845 Bytes
/
.stylelintrc
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
{
"plugins": [
"stylelint-scss",
"stylelint-declaration-use-variable"
],
"extends": "@edx/stylelint-config-edx",
"rules": {
"at-rule-no-unknown": [true, {
"ignoreAtRules": ["function", "if", "each", "include", "mixin", "extend"]
}],
"font-family-no-missing-generic-family-keyword": [ true, {
"ignoreValues": [
"Font Awesome 5 Pro'",
"Font Awesome 5 Brands'"
]
}],
"selector-max-type": [0, {
"ignoreTypes": ["body"]
}],
"declaration-property-unit-whitelist": {
"font-size": ["rem"]
},
"scss/declaration-nested-properties": ["always", {
"except": [
"only-of-namespace"
]
}],
"sh-waqar/declaration-use-variable": [["/color/", { "ignoreValues": ["inherit", "transparent"] }]],
"property-no-vendor-prefix": [true]
}
}