-
Notifications
You must be signed in to change notification settings - Fork 8
/
.stylelintrc.js
31 lines (31 loc) · 965 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
25
26
27
28
29
30
31
module.exports = {
plugins: ['stylelint-order'],
extends: [
'stylelint-config-standard',
'stylelint-config-sass-guidelines',
'stylelint-prettier/recommended',
'stylelint-config-rational-order',
],
rules: {
'no-empty-source': null,
'max-nesting-depth': null,
'selector-class-pattern': '^[a-z][a-zA-Z0-9_]+$',
'selector-max-compound-selectors': null,
'declaration-property-value-disallowed-list': null,
'selector-pseudo-element-no-unknown': null,
'property-no-vendor-prefix': null,
'declaration-block-no-redundant-longhand-properties': null,
'selector-pseudo-class-no-unknown': null,
'selector-no-qualifying-type': null,
'order/properties-alphabetical-order': null,
'order/properties-order': [],
'declaration-empty-line-before': null,
'plugin/rational-order': [
true,
{
'border-in-box-model': false,
'empty-line-between-groups': true,
},
],
},
};