forked from mytonwalletorg/mytonwallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelintrc.json
78 lines (78 loc) · 1.74 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
68
69
70
71
72
73
74
75
76
77
78
{
"extends": [
"stylelint-config-recommended-scss",
"stylelint-config-clean-order"
],
"ignoreFiles": [
"dist/*.css",
"src/styles/brilliant-icons.css",
"coverage/**",
"dist-electron/*.css",
"mobile/**/public/*.css"
],
"plugins": [
"stylelint-declaration-block-no-ignored-properties",
"stylelint-high-performance-animation",
"stylelint-group-selectors",
"stylelint-order",
"./plugins/wholePixel.js"
],
"rules": {
"max-empty-lines": 1,
"number-leading-zero": "always",
"selector-attribute-quotes": "always",
"scss/operator-no-unspaced": null,
"no-descending-specificity": null,
"color-hex-case": "upper",
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": [
"global"
]
}
],
"plugin/declaration-block-no-ignored-properties": true,
"plugin/no-low-performance-animation-properties": [
true,
{
"ignore": "paint-properties"
}
],
"plugin/stylelint-group-selectors": [
true,
{
"severity": "warning"
}
],
"plugin/whole-pixel": [
true,
{
"ignoreList": [
"letter-spacing"
]
}
],
"order/order": [
{
"type": "at-rule",
"name": "import",
"hasBlock": false
}
],
"at-rule-empty-line-before": ["always", {
"ignore": [
"first-nested"
]
}],
"rule-empty-line-before": ["always", {
"except": ["after-single-line-comment", "first-nested"],
"ignore": ["after-comment", "inside-block"]
}],
"no-eol-whitespace": true,
"indentation": [2, {
"ignore": ["value"]
}],
"no-missing-end-of-source-newline": true
}
}