-
Notifications
You must be signed in to change notification settings - Fork 0
/
.stylelint.config.cjs
34 lines (33 loc) · 1.01 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
module.exports = {
plugins: ['stylelint-scss'],
extends: ['stylelint-config-standard', 'stylelint-config-recommended-scss', 'stylelint-config-recommended-vue'],
ignoreFiles: ['/app/assets/**/*.css'],
rules: {
'length-zero-no-unit': null,
'at-rule-empty-line-before': [
'never',
{
ignore: ['after-comment', 'inside-block', 'blockless-after-same-name-blockless', 'first-nested'],
except: ['inside-block', 'after-same-name', 'blockless-after-blockless'],
},
],
'no-empty-source': null,
'no-descending-specificity': null,
'color-function-notation': null,
'selector-class-pattern': null,
'alpha-value-notation': 'number',
'import-notation': 'string',
'media-feature-name-no-unknown': [
true,
{
ignoreMediaFeatureNames: ['/^prefers-/'],
},
],
'at-rule-no-unknown': [
true,
{
ignoreAtRules: ['include', 'function', 'return', 'mixin', 'if', 'else', 'for', 'extend', 'each', 'content'],
},
],
},
};