-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc.cjs
42 lines (42 loc) · 1.2 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-scss'],
plugins: ['stylelint-order', 'stylelint-scss'],
rules: {
'at-rule-no-unknown': null,
'custom-property-empty-line-before': 'never',
'declaration-empty-line-before': 'never',
'declaration-property-value-no-unknown': [
true,
{
ignoreProperties: {
'/.+/': '/math\\.div\\((.+), (.+)\\)/', // ignore sasss math.div()
},
},
],
'function-name-case': 'lower',
'keyframes-name-pattern': null,
'order/order': [
'custom-properties',
'dollar-variables',
'at-variables',
'declarations',
'rules',
'at-rules',
'less-mixins',
],
'order/properties-alphabetical-order': true,
'property-no-vendor-prefix': null,
'rule-empty-line-before': [
'always',
{
except: ['after-rule', 'first-nested', 'inside-block-and-after-rule'],
},
],
'scss/at-rule-no-unknown': true,
'scss/dollar-variable-colon-space-after': null,
'selector-class-pattern': null,
'selector-not-notation': 'simple',
'selector-pseudo-class-no-unknown': [true, { ignorePseudoClasses: ['global'] }],
'value-keyword-case': null,
},
};