-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.js
30 lines (30 loc) · 1.01 KB
/
index.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
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-standard-scss',
],
'plugins': [
'stylelint-order',
],
'rules': {
'block-no-empty': true,
'color-no-invalid-hex': true,
'comment-no-empty': true,
'declaration-empty-line-before': 'never',
'declaration-block-no-duplicate-properties': true,
'declaration-block-no-redundant-longhand-properties': true,
'declaration-block-no-shorthand-property-overrides': true,
'font-family-no-duplicate-names': true,
'font-family-no-missing-generic-family-keyword': true,
'no-duplicate-selectors': true,
'no-invalid-double-slash-comments': true,
'property-no-vendor-prefix': [true, { ignoreProperties: ['transform', 'perspective', 'backface-visibility', 'appearance'] }],
'property-no-unknown': true,
'selector-class-pattern': '^[a-z][a-zA-Z0-9]+$',
'selector-max-id': 0,
'shorthand-property-no-redundant-values': true,
'unit-no-unknown': true,
'value-keyword-case': 'lower',
'order/properties-alphabetical-order': true,
},
};