forked from gnonce/gatsby-starter-gnonce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
67 lines (67 loc) · 2.2 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
65
66
67
{
"processors": ["stylelint-processor-styled-components"],
"plugins": ["stylelint-no-unsupported-browser-features"],
"extends": [
"stylelint-config-recommended",
"stylelint-config-styled-components"
],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["extends"]
}
],
"font-family-no-duplicate-names": true,
"font-family-no-missing-generic-family-keyword": true,
"function-calc-no-invalid": true,
"function-calc-no-unspaced-operator": true,
"function-linear-gradient-no-nonstandard-direction": true,
"keyframe-declaration-no-important": true,
"media-feature-name-no-unknown": true,
"no-descending-specificity": true,
"no-duplicate-at-import-rules": true,
"no-duplicate-selectors": true,
"no-empty-source": null,
"no-extra-semicolons": true,
"no-invalid-double-slash-comments": true,
"property-no-unknown": true,
"color-no-invalid-hex": true,
"color-hex-case": "lower",
"color-named": "never",
"color-hex-length": "long",
"color-no-hex": null,
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-element-no-unknown": true,
"selector-type-no-unknown": true,
"string-no-newline": true,
"unit-no-unknown": true,
"block-no-empty": null,
"font-weight-notation": "named-where-possible",
"font-family-name-quotes": "always-unless-keyword",
"number-leading-zero": "always",
"number-no-trailing-zeros": true,
"value-no-vendor-prefix": true,
"shorthand-property-no-redundant-values": true,
"string-quotes": "double",
"number-max-precision": 2,
"unit-allowed-list": ["px", "%", "s"],
"plugin/no-unsupported-browser-features": [
true,
{
"ignore": [
// TODO Remove CSS grid or test in Edge
"multicolumn",
// These properties are not supported everywhere but should not break the layout too badly
"wordwrap",
"word-break",
"outline",
"css-appearance",
// Remove errors about partial supports as it refers to not supporting vmax which we don't use at time of writing.
// Easier to ignore here
"viewport-units"
]
}
]
}
}