-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.stylelintrc.json
67 lines (67 loc) · 1.94 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"extends": ["stylelint-config-standard-scss", "stylelint-prettier", "stylelint-config-property-sort-order-smacss"],
"plugins": ["stylelint-order", "stylelint-declaration-strict-value", "stylelint-prettier"],
"ignoreFiles": ["**/src/scss/vendor/**/*.scss"],
"overrides": [
{
"files": ["**/*.sss"],
"rules": {
"order/order": ["custom-properties", "declarations"],
"order/properties-order": [
["position", "display", "height", "width", "margin", "padding", "overflow", "border", "border-radius", "z-index", "top", "right", "bottom", "left"],
{
"unspecified": "bottom"
}
],
"order/properties-alphabetical-order": null,
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["extends", "ignores", "include", "mixin", "extend", "if", "else", "each", "warn", "function", "return", "for", "use"]
}
],
"scale-unlimited/declaration-strict-value": [
"color",
{
"severity": "warning"
}
],
"color-hex-case": "lower",
"block-no-empty": true,
"comment-empty-line-before": [
"always",
{
"severity": "warning"
}
],
"selector-pseudo-element-no-unknown": [
true,
{
"ignorePseudoElements": ["ng-deep"]
}
],
"declaration-block-no-duplicate-properties": [
true,
{
"ignore": ["consecutive-duplicates-with-different-values"]
}
],
"max-nesting-depth": 4,
"selector-max-compound-selectors": 5,
"selector-class-pattern": null,
"indentation": null,
"number-leading-zero": null,
"no-descending-specificity": null,
"no-duplicate-at-import-rules": true,
"no-duplicate-selectors": true,
"prettier/prettier": true,
"declaration-property-value-disallowed-list": null,
"custom-property-pattern": null,
"scss/no-global-function-names": null,
"declaration-property-value-blacklist": null,
"rule-empty-line-before": null,
"string-quotes": "single"
}
}
]
}