forked from JustFly1984/react-google-maps-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint.config.js
31 lines (30 loc) · 845 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
26
27
28
29
30
31
module.exports = {
'extends': [
'stylelint-config-recommended',
'stylelint-config-standard',
'stylelint-config-css-modules'
],
'plugins': [
'stylelint-a11y',
'stylelint-css-modules',
'stylelint-high-performance-animation'
],
'rules': {
'plugin/no-low-performance-animation-properties': true,
'block-no-empty': null,
'color-no-invalid-hex': true,
'comment-empty-line-before': ['always', {
'ignore': ['stylelint-commands', 'after-comment']
}],
'declaration-colon-space-after': 'always',
'indentation': 2,
'color-hex-length': 'short',
'color-hex-case': 'upper',
'max-empty-lines': 2,
'rule-empty-line-before': ['always', {
'except': ['first-nested'],
'ignore': ['after-comment']
}],
'unit-whitelist': ['rem', 'vh', 'vw', '%', 'px', 's']
}
}