-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylelint.config.js
68 lines (68 loc) · 1.66 KB
/
stylelint.config.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
module.exports = {
'extends': 'stylelint-config-standard',
'rules': {
'at-rule-no-vendor-prefix': true,
'at-rule-whitelist': [],
'color-named': 'always-where-possible',
'color-no-hex': true,
'custom-media-pattern': '^[a-z]+[a-zA-Z]*$',
'custom-property-no-outside-root': true,
'custom-property-pattern': '^[a-z]+[a-zA-Z]*$',
'declaration-block-properties-order': [
[
'composes'
],
{
'unspecified': 'bottomAlphabetical'
}
],
'font-family-name-quotes': 'always-where-recommended',
'font-weight-notation': 'numeric',
'function-url-quotes': 'always',
'function-whitelist': [
'alpha',
'color',
'gray',
'hsl',
'hsla',
'var'
],
'indentation': 4,
'media-feature-name-no-vendor-prefix': true,
'no-descending-specificity': true,
'no-duplicate-selectors': true,
'property-blacklist': [
'float'
],
'property-no-unknown': [
true,
{
'ignoreProperties': [
'composes'
]
}
],
'property-no-vendor-prefix': true,
'root-no-standard-properties': true,
'selector-class-pattern': '^[a-z]+[a-zA-Z]*$',
'selector-max-compound-selectors': 1,
'selector-max-specificity': '0,2,1',
'selector-no-attribute': true,
'selector-no-type': true,
'selector-no-universal': true,
'selector-no-vendor-prefix': true,
'selector-root-no-composition': true,
'selector-pseudo-class-whitelist': [
'focus',
'hover',
'root'
],
'string-quotes': 'single',
'unit-whitelist': [
'%',
'px',
's'
],
'value-no-vendor-prefix': true
}
};