-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.js
49 lines (49 loc) · 1.37 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
module.exports = {
extends: ['stylelint-config-standard', 'stylelint-config-recess-order'],
plugins: ['stylelint-gamut'],
rules: {
'declaration-property-value-disallowed-list': {},
'keyframe-block-no-duplicate-selectors': true,
'selector-pseudo-class-no-unknown': [
true,
{
ignorePseudoClasses: ['global']
}
],
'gamut/color-no-out-gamut-range': true,
'property-no-vendor-prefix': null,
'function-disallowed-list': ['rgba', 'hsla'],
'color-function-notation': 'modern',
'no-irregular-whitespace': null,
'keyframes-name-pattern': [
'^--([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
{
message: name => `Expected keyframe name ${name} to be --kebab-case`
}
],
'selector-class-pattern': null,
'alpha-value-notation': 'number',
'function-url-quotes': null,
'hue-degree-notation': 'number',
'lightness-notation': 'number',
'at-rule-no-unknown': [
true,
{
ignoreAtRules: ['define-mixin', 'mixin']
}
],
'color-no-hex': true
},
overrides: [
{
files: ['**/*.sss'],
rules: {
'declaration-block-trailing-semicolon': null,
'block-closing-brace-newline-before': null,
'custom-property-empty-line-before': null,
'block-opening-brace-space-before': null,
'declaration-colon-newline-after': null
}
}
]
}