forked from gilbarbara/react-redux-saga-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
64 lines (64 loc) · 1.86 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"processors": ["stylelint-processor-styled-components"],
"extends": [
"stylelint-config-standard",
"stylelint-config-styled-components"
],
"plugins": [
"stylelint-order"
],
"rules": {
"at-rule-empty-line-before": [
"always",
{
"except": ["blockless-after-blockless", "first-nested"],
"ignore": ["after-comment"],
"ignoreAtRules": ["else"]
}
],
"at-rule-no-unknown": null,
"color-named": "never",
"declaration-colon-newline-after": null,
"declaration-block-no-redundant-longhand-properties": null,
"declaration-empty-line-before": null,
"declaration-property-value-blacklist": {
"/^border/": ["none"]
},
"function-url-quotes": "always",
"indentation": [2, { "ignore": ["value"] }],
"max-nesting-depth": 5,
"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": 5,
"selector-max-specificity": ["1,6,4"],
"selector-no-qualifying-type": [true, { "ignore": ["class"] }],
"selector-pseudo-element-colon-notation": "single",
"string-quotes": "single",
"unit-blacklist": [
["px", "em"], {
"ignoreProperties": {
"px": ["max-width"]
}
}
],
"order/order": [
{ "type": "at-rule", "name": "import" },
"custom-properties",
"dollar-variables",
{ "type": "at-rule", "name": "extend" },
{ "type": "at-rule", "name": "include", "hasBlock": false },
"declarations",
{
"type": "at-rule",
"name": "include",
"hasBlock": true
},
"rules",
"at-rules"
],
"order/properties-alphabetical-order": true
}
}