-
Notifications
You must be signed in to change notification settings - Fork 4
/
.stylelintrc.js
48 lines (48 loc) · 1018 Bytes
/
.stylelintrc.js
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
43
44
45
46
47
48
module.exports = {
extends: "stylelint-config-standard",
ignoreFiles: [
"node_modules/**/*",
"dist/**/*",
"src/commons/scss/*"
],
rules: {
"selector-class-pattern": [
"^(([a-z]{2}-[a-z]([a-z0-9-]|__[a-z])*[a-z0-9])|(glyphicon)\.*)$",
{
"resolveNestedSelectors": true,
"severity": "warning"
}
],
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"extend",
"at-root",
"debug",
"warn",
"error",
"if",
"else",
"for",
"each",
"while",
"mixin",
"include",
"content",
"return",
"function"
]
}
],
"color-no-hex": true,
"at-rule-empty-line-before": [
"always",
{
"except": ["after-same-name", "inside-block", "blockless-after-same-name-blockless"]
}
],
"number-leading-zero": "never",
"no-descending-specificity": null
}
};