-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
38 lines (35 loc) · 949 Bytes
/
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
module.exports = {
extends: 'stylelint-config-standard',
plugins: [
'stylelint-declaration-strict-value',
'stylelint-order',
'stylelint-scss'
],
rules: {
'at-rule-empty-line-before': ['always', {
except: [
'blockless-after-same-name-blockless',
'first-nested'
],
ignore: ['after-comment'],
ignoreAtRules: ['else']
}],
'at-rule-no-unknown': null,
'color-hex-case': null,
'color-hex-length': 'long',
'selector-max-id': 0,
'selector-pseudo-element-colon-notation': 'single',
'selector-type-no-unknown': [
true,
{
ignoreTypes: ['box', 'centered', 'container', 'fill', 'fit', 'grid', 'hbox', 'vbox']
}
],
'order/properties-alphabetical-order': true,
'scale-unlimited/declaration-strict-value': [
['/color/']
],
'scss/at-rule-no-unknown': true,
'scss/dollar-variable-pattern': '^[a-z][a-z0-9-]+$'
}
};