forked from eBay/skin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc
79 lines (79 loc) · 2.22 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
68
69
70
71
72
73
74
75
76
77
78
79
{
"extends": [
"stylelint-config-standard",
"stylelint-prettier/recommended"
],
"ignoreFiles": [
"dist/mixins/**/*",
"dist/variables/**/*",
"**/*.min.css",
"**/*.js",
"**/*.svg"
],
"rules": {
"comment-empty-line-before": null,
"no-descending-specificity": null,
"no-duplicate-selectors": null,
"rule-empty-line-before": null,
"color-function-notation": "legacy",
"property-no-vendor-prefix": null,
"selector-no-vendor-prefix": null,
"selector-class-pattern": null,
"alpha-value-notation": "number",
"value-no-vendor-prefix": null,
"import-notation": "string",
"declaration-block-no-redundant-longhand-properties": null,
"at-rule-empty-line-before": null,
"media-feature-range-notation": "prefix",
"value-keyword-case": [
"lower",
{
"camelCaseSvgKeywords": true
}
],
"function-no-unknown": [
true,
{
"ignoreFunctions": [
"fade"
]
}
]
},
"overrides": [
{
"files": [
"**/*.less"
],
"customSyntax": "postcss-less",
"plugins": [
"stylelint-order",
],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"icon-mixin"
]
}
],
"declaration-empty-line-before": null,
"function-no-unknown": [
true,
{
"ignoreFunctions": [
"fade",
"shade",
"tint"
]
}
],
"media-query-no-invalid": null,
"no-descending-specificity": true,
"no-duplicate-selectors": true,
"order/properties-alphabetical-order": true
}
}
]
}