-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylelint.config.js
40 lines (40 loc) · 940 Bytes
/
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
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-prettier',
'stylelint-config-recommended-vue', //importante en stylelint 14.0.0
],
rules: {
'at-rule-no-unknown': [
true,
{
ignoreAtRules: [
'tailwind',
'apply',
'variants',
'responsive',
'screen',
],
},
],
'block-no-empty': null,
'block-opening-brace-space-before': 'always',
'color-no-invalid-hex': true,
'comment-empty-line-before': [
'always',
{
ignore: ['stylelint-commands', 'after-comment'],
},
],
'declaration-colon-space-after': 'always',
'max-empty-lines': 2,
'rule-empty-line-before': [
'always',
{
except: ['first-nested'],
ignore: ['after-comment'],
},
],
'unit-allowed-list': ['px', 'em', 'rem', '%', 's', 'vh', 'vw', 'fr', 'seg'],
},
}