-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
72 lines (70 loc) · 2.07 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
module.exports = {
plugins: [
'stylelint-scss'
],
extends: [
'stylelint-config-standard',
'stylelint-config-recess-order'
],
rules: {
'color-no-invalid-hex': true,
'color-named': 'never',
'color-hex-case': 'lower',
'font-family-no-duplicate-names': true,
'font-family-no-missing-generic-family-keyword': true,
'function-calc-no-invalid': true,
'function-calc-no-unspaced-operator': true,
'function-linear-gradient-no-nonstandard-direction': true,
'string-no-newline': true,
'property-no-unknown': true,
'keyframe-declaration-no-important': true,
'declaration-block-no-duplicate-properties': true,
'declaration-block-no-duplicate-custom-properties': true,
'declaration-block-no-shorthand-property-overrides': true,
'block-no-empty': true,
'selector-pseudo-class-no-unknown': true,
'selector-pseudo-element-no-unknown': true,
'selector-type-no-unknown': [
true,
{
ignore: ['custom-elements']
}
],
'comment-no-empty': true,
'no-descending-specificity': true,
'no-duplicate-at-import-rules': true,
'no-duplicate-selectors': true,
'no-empty-source': true,
'no-extra-semicolons': true,
'no-invalid-double-slash-comments': true,
'function-url-no-scheme-relative': true,
'shorthand-property-no-redundant-values': true,
'value-list-comma-newline-after': 'never-multi-line',
'declaration-no-important': true,
'declaration-block-single-line-max-declarations': 1,
'selector-max-specificity': '0,2,1',
'selector-max-type': 1,
'selector-max-universal': 1,
'max-nesting-depth': 3,
'no-unknown-animations': true,
'font-family-name-quotes': 'always-where-required',
'number-leading-zero': 'never',
'string-quotes': 'double',
'length-zero-no-unit': true,
'unit-no-unknown': true,
'at-rule-no-unknown': [
true,
{ 'ignoreAtRules': [
'include',
'mixin',
'each',
'if',
'else',
'function',
'return',
'warn',
'use',
] }
],
}
}