-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.js
24 lines (24 loc) · 962 Bytes
/
.stylelintrc.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
module.exports = {
extends: [
'stylelint-config-standard-scss', // configure for SCSS
'stylelint-config-recommended-vue', // add overrides for .Vue files
'stylelint-config-recess-order', // use the recess order for properties
'stylelint-config-css-modules', // configure for CSS Modules methodology
'stylelint-config-prettier' // turn off any rules that conflict with Prettier
],
rules: {
'no-empty-source': null,
'block-no-empty': null,
'unit-allowed-list': ['px', 'em', 'rem', 's', '%', 'vh', 'vw', 'fr', 'deg', 'cm'],
'comment-no-empty': true,
'no-descending-specificity': null,
'font-weight-notation': 'numeric',
'comment-empty-line-before': null,
'comment-whitespace-inside': null,
'at-rule-no-unknown': null,
'scss/at-rule-no-unknown': true,
'declaration-no-important': true,
'declaration-block-single-line-max-declarations': 1,
'selector-pseudo-element-no-unknown': true
}
}