-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.js
51 lines (51 loc) · 1.2 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
module.exports = {
'extends': 'stylelint-config-standard',
'rules': {
'no-empty-source': null,
'string-quotes': "double",
'selector-list-comma-newline-after': "always-multi-line",
"declaration-empty-line-before": null,
"no-descending-specificity": null,
'at-rule-no-unknown': [
true,
{
'ignoreAtRules': [
'extend',
'at-root',
'debug',
'warn',
'error',
'if',
'else',
'for',
'each',
'while',
'mixin',
'include',
'content',
'return',
'function',
'tailwind',
'apply',
'responsive',
'variants',
'screen',
],
},
],
'function-name-case': ['lower', {
'ignoreFunctions': ['mergeColorMaps', '/^bulma.*$/', '/^find.*$/']
}],
"at-rule-empty-line-before": ["always", {
"ignore": ["after-comment", "inside-block", "blockless-after-same-name-blockless", "blockless-after-blockless"]
}],
"media-feature-name-no-unknown": [
true,
{
"ignoreMediaFeatureNames": [
"prefers-reduced-motion"
]
}
]
},
};