forked from Ajaxy/telegram-tt
-
Notifications
You must be signed in to change notification settings - Fork 12
/
.stylelintrc.json
59 lines (59 loc) · 1.82 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
{
"extends": [
"stylelint-config-recommended-scss",
"@stylistic/stylelint-config"
],
"ignoreFiles": [
"dist/*.css",
"src/styles/icons.scss"
],
"plugins": [
"@stylistic/stylelint-plugin",
"stylelint-declaration-block-no-ignored-properties",
"stylelint-high-performance-animation",
"stylelint-group-selectors",
"stylelint-selector-tag-no-without-class",
"./dev/wholePixel.js"
],
"rules": {
"property-no-unknown": [
true,
{
"ignoreProperties": [
"composes",
"compose-with"
]
}
],
"selector-attribute-quotes": "always",
"scss/operator-no-unspaced": null,
"no-descending-specificity": null,
"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"] }],
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
],
"plugin/selector-tag-no-without-class": ["/^(?!body|html)([^_-]*)$/", { "severity": "warning" }],
"@stylistic/number-leading-zero": "always",
"@stylistic/string-quotes": null,
"@stylistic/color-hex-case": null,
"@stylistic/selector-list-comma-newline-after": null,
"@stylistic/block-closing-brace-newline-after": null,
"@stylistic/indentation": [2, { "ignore": ["value"] }],
"at-rule-empty-line-before": ["always", { "ignore": ["first-nested", "after-comment", "blockless-after-blockless"] }],
"rule-empty-line-before": ["always", {
"except": ["after-single-line-comment", "first-nested"],
"ignore": ["after-comment", "inside-block"]
}]
}
}