-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.js
56 lines (56 loc) · 1.4 KB
/
.stylelintrc.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
module.exports = {
// overrides: [
// {
// files: ['assets/styles/**/*.scss'],
// customSyntax: 'postcss-scss',
// },
// ],
extends: 'stylelint-config-standard-scss',
ignoreFiles: ['**/*.js', 'dist/**/*.css'],
ignore: ['no-descending-specificity', 'selectors-within-list'],
rules: {
'selector-id-pattern': null,
'color-function-notation': 'legacy',
'scss/dollar-variable-pattern': null,
'selector-class-pattern': null,
'no-descending-specificity': null,
'no-empty-source': null,
'string-quotes': 'double',
'value-keyword-case': [
'lower',
{
ignoreKeywords: ['BlinkMacSystemFont'],
ignoreProperties: ['$main_font_family', '$font-family-base'],
},
],
'no-invalid-position-at-import-rule': null,
'at-rule-no-unknown': [
true,
{
ignoreAtRules: [
'use',
'extend',
'at-root',
'debug',
'warn',
'error',
'if',
'else',
'for',
'each',
'while',
'mixin',
'include',
'content',
'return',
'function',
'tailwind',
'apply',
'responsive',
'variants',
'screen',
],
},
],
},
};