-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.stylelintrc
42 lines (42 loc) · 1.46 KB
/
.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
32
33
34
35
36
37
38
39
40
41
42
{
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-scss"
],
"rules": {
"color-named": "never",
"declaration-colon-newline-after": null,
"declaration-empty-line-before": null,
"declaration-property-value-blacklist": {
"/^border/": ["none"]
},
"function-url-quotes": "always",
"indentation": [2, { "ignore": ["value"] }],
"max-nesting-depth": 4,
"no-duplicate-selectors": true,
"no-missing-end-of-source-newline": true,
"number-max-precision": 4,
"property-no-vendor-prefix": true,
"selector-class-pattern": "^((?:-{1,2}|_{2})?[a-z0-9]+(?:(?:-{1,2}|_{2})[a-z0-9]+)*)(?:-{1,2}|_{2})?$",
"selector-max-compound-selectors": 4,
"selector-max-specificity": ["0,3,0"],
"selector-no-qualifying-type": [true, { "ignore": ["class"] }],
"selector-pseudo-element-colon-notation": "single",
"string-quotes": "single",
"unit-blacklist": [
["px", "em"], {
"ignoreProperties": {
"px": ["max-width"]
}
}
],
"scss/at-import-no-partial-leading-underscore": true,
"scss/at-import-partial-extension-blacklist": ["scss"],
"scss/dollar-variable-colon-space-after": "always",
"scss/dollar-variable-colon-space-before": "never",
"scss/dollar-variable-no-missing-interpolation": true,
"scss/double-slash-comment-whitespace-inside": "always",
"scss/operator-no-unspaced": true,
"scss/selector-no-redundant-nesting-selector": true
}
}