-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint.config.js
63 lines (63 loc) · 1.74 KB
/
stylelint.config.js
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
module.exports = {
ignoreFiles: [ 'node_modules/**', 'dist/**' ],
extends: [
'stylelint-config-recommended-scss'
// "stylelint-config-rational-order"
],
rules: {
'scss/at-rule-no-unknown': [
true,
{
ignoreAtRules: [
'tailwind',
'apply',
'variants',
'responsive',
'screen'
]
}
],
indentation: 4,
'max-empty-lines': 2,
'declaration-block-trailing-semicolon': null,
'no-descending-specificity': null,
'block-closing-brace-empty-line-before': 'always-multi-line',
'rule-empty-line-before': 'always',
'at-rule-empty-line-before': [
'always', {
except: [
'blockless-after-same-name-blockless'
],
ignore: [
'blockless-after-same-name-blockless'
]
}
],
'declaration-empty-line-before': [
'always', {
except: [
'after-declaration'
]
}
],
'block-no-empty': null,
'color-no-invalid-hex': true,
'property-no-unknown': null,
'selector-pseudo-class-no-unknown': [
true, {
ignorePseudoClasses: [
'export'
]
}
],
'comment-empty-line-before': [
'always', {
ignore: [
'stylelint-commands',
'after-comment'
]
}
],
'declaration-colon-space-after': 'always'
}
}