forked from liuyuze61/ATRI-miband
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.stylelintrc.js
More file actions
44 lines (44 loc) · 1014 Bytes
/
Copy path.stylelintrc.js
File metadata and controls
44 lines (44 loc) · 1014 Bytes
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
32
33
34
35
36
37
38
39
40
41
42
43
44
module.exports = {
extends: [
'stylelint-config-standard',
'stylelint-config-recess-order',
// "stylelint-selector-bem-pattern"
],
ignoreFiles: ['node_modules', 'test', 'dist', '**/*.js'],
rules: {
'no-descending-specificity': null,
'color-hex-case': 'lower',
'color-hex-length': 'short',
'at-rule-no-unknown': null,
'block-no-empty': null,
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['blur'],
},
],
'property-no-unknown': [
true,
{
ignoreProperties: [
'placeholder-color',
'gradient-start',
'gradient-center',
'gradient-end',
'caret-color',
'selected-color',
'block-color',
],
},
],
'max-line-length': null,
// "indentation": 2,
// "no-empty-source": null,
'selector-type-no-unknown': [
true,
{
ignoreTypes: ['selected-color', 'block-color'],
},
],
},
};