-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstylelint.config.cjs
39 lines (39 loc) · 1.33 KB
/
stylelint.config.cjs
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
module.exports = {
extends: ['stylelint-config-hudochenkov/full'],
plugins: ['stylelint-scss', 'stylelint-order'],
rules : {
indentation : 4,
'color-hex-case' : 'upper',
'color-hex-length' : 'long',
'no-descending-specificity': null,
'at-rule-no-unknown' : [
true,
{
ignoreAtRules: ['function', 'if', 'each', 'else', 'include', 'mixin', 'return', 'for', 'use', 'forward', 'debug', 'warn', 'extend', 'tailwind', 'apply'],
},
],
'font-family-no-missing-generic-family-keyword': null,
'selector-pseudo-element-no-unknown' : [
true,
{
ignorePseudoElements: ['v-deep'],
},
],
'declaration-no-important' : null, // It should be true
'selector-max-type' : null, // It should be 3
'selector-max-id' : null, // It should be 1
'selector-no-qualifying-type': [ // It should not have ignore list
true,
{
ignore: ['attribute', 'class', 'id'],
},
],
'unit-no-unknown': [
true,
{
ignoreUnits: ['xs', 'sm', 'md', 'lg', 'xl'],
},
],
},
syntax: 'scss',
};