-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.js
54 lines (54 loc) · 1.22 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
module.exports = {
extends: 'stylelint-config-recommended',
plugins: [
'stylelint-order',
'stylelint-scss'
],
rules: {
'at-rule-no-unknown': null,
'color-hex-case': 'lower',
'color-hex-length': 'short',
'color-named': 'never',
'declaration-property-unit-disallowed-list': {
'font-size': ['vw', 'vh', 's']
},
indentation: 2,
'no-descending-specificity': [
true, {
ignore: ['selectors-within-list'],
severity: 'warning'
}
],
'no-eol-whitespace': true,
'number-leading-zero': 'always',
'order/order': [
{
type: 'at-rule',
name: 'extend'
},
{
type: 'at-rule',
name: 'include'
},
'custom-properties',
'declarations',
'at-rules'
],
'order/properties-alphabetical-order': true,
'property-no-vendor-prefix': [
true, {
ignoreProperties: [
'appearance',
'backface-visibility',
'background-clip',
'hyphens',
'user-select'
],
severity: 'warning'
}
],
'scss/at-rule-no-unknown': true,
'selector-pseudo-element-colon-notation': 'double',
'value-no-vendor-prefix': true
}
}