forked from edwardfxiao/react-inputs-validation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint.config.js
25 lines (25 loc) · 896 Bytes
/
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
module.exports = {
extends: "stylelint-config-standard",
rules: {
'block-no-empty': true,
'color-hex-case': 'lower',
'color-hex-length': null,
'color-no-invalid-hex': true,
'length-zero-no-unit': true,
'comment-empty-line-before': ['always', {
'except': ['first-nested'],
'ignore': ['stylelint-commands', 'between-comments'],
}],
'declaration-colon-space-after': 'always',
'max-empty-lines': 2,
'unit-whitelist': ['em', 'rem', '%', 's', 'ms', 'px', 'deg', 'vw', 'vh', 'dpi', 'dppx'],
'selector-combinator-space-after': null,
'selector-pseudo-element-colon-notation': null,
'selector-list-comma-newline-after': null,
'comment-empty-line-before': null,
'block-closing-brace-newline-before': null,
'number-leading-zero': null,
'rule-empty-line-before': null,
'declaration-block-trailing-semicolon': null
}
};