forked from karrot-dev/karrot-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint.config.js
39 lines (39 loc) · 1 KB
/
stylelint.config.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
module.exports = {
extends: [
'stylelint-config-recess-order',
],
rules: {
'block-no-empty': null,
'color-no-invalid-hex': true,
'comment-empty-line-before': ['always', {
ignore: ['stylelint-commands', 'after-comment'],
}],
'function-comma-newline-after': 'always-multi-line',
'function-comma-space-after': 'always-single-line',
'function-comma-space-before': 'never',
'function-max-empty-lines': 0,
'function-name-case': 'lower',
'function-parentheses-newline-inside': 'always-multi-line',
'function-parentheses-space-inside': 'never-single-line',
'function-whitespace-after': 'always',
'declaration-colon-space-after': 'always',
indentation: 2,
'max-empty-lines': 2,
'rule-empty-line-before': ['always', {
except: ['first-nested'],
ignore: ['after-comment'],
}],
'unit-allowed-list': [
'px',
'em',
'rem',
'%',
's',
'deg',
'vw',
'vh',
'vmax',
'fr',
],
},
}