forked from oryx-frontend/oryx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.json
60 lines (60 loc) · 1.37 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
{
"ignoreFiles": ["!**/*"],
"plugins": [
"stylelint-use-logical-spec",
"stylelint-no-unsupported-browser-features"
],
"overrides": [
{
"files": ["**/*.css", "**/*.styles.ts"],
"extends": ["stylelint-config-standard", "stylelint-config-prettier"],
"customSyntax": "@stylelint/postcss-css-in-js"
}
],
"rules": {
"string-quotes": "single",
"plugin/no-unsupported-browser-features": [
true,
{
"ignore": ["css-appearance", "multicolumn", "intrinsic-width"]
}
],
"declaration-block-no-duplicate-properties": true,
"selector-not-notation": null,
"no-descending-specificity": null,
"function-no-unknown": null,
"rule-empty-line-before": [
"always-multi-line",
{
"except": ["first-nested"],
"ignore": ["after-comment", "inside-block"]
}
],
"liberty/use-logical-spec": [
"always",
{
"except": [
"height",
"min-height",
"max-height",
"width",
"min-width",
"max-width"
]
}
],
"custom-property-pattern": "^_?([a-z][a-z0-9]*)(-[a-z0-9]+)*$",
"value-keyword-case": [
"lower",
{
"ignoreKeywords": ["currentColor"]
}
],
"property-no-vendor-prefix": [
true,
{
"ignoreProperties": ["appearance"]
}
]
}
}