-
Notifications
You must be signed in to change notification settings - Fork 24
/
.stylelintrc.cjs
42 lines (42 loc) · 1.09 KB
/
.stylelintrc.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
40
41
42
module.exports = {
extends: ['stylelint-config-standard', 'stylelint-config-recess-order'],
overrides: [
{
files: ['*.less'],
plugins: ['stylelint-less'],
customSyntax: 'postcss-less',
rules: {
'color-no-invalid-hex': true,
'less/color-no-invalid-hex': true,
},
},
{
files: ['*.scss'],
extends: ['stylelint-config-standard-scss'],
customSyntax: 'postcss-scss',
rules: {
'at-rule-no-unknown': null,
'scss/at-rule-no-unknown': [
true,
{
ignoreAtRules: ['tailwind', 'apply', 'variants', 'responsive', 'screen'],
},
],
'scss/dollar-variable-pattern': ['[a-z]+([a-z0-9-]+[a-z0-9]+)?$'],
},
},
],
rules: {
'import-notation': null,
'at-rule-no-unknown': [
true,
{
ignoreAtRules: ['tailwind', 'apply', 'variants', 'responsive', 'screen'],
},
],
'selector-class-pattern': null,
'no-descending-specificity': null,
'no-invalid-position-at-import-rule': null,
'color-function-notation': null,
},
};