-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstylelint.config.js
More file actions
62 lines (61 loc) · 1.35 KB
/
stylelint.config.js
File metadata and controls
62 lines (61 loc) · 1.35 KB
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
const sortOrderSmacss = require('stylelint-config-property-sort-order-smacss/generate');
module.exports = {
plugins: ['stylelint-order'],
extends: [
'stylelint-config-standard',
'stylelint-config-standard-scss',
'stylelint-scss'
],
rules: {
'prettier/prettier': true,
'at-rule-no-unknown': [
true,
{
ignoreAtRules: [
'include',
'mixin',
'at-root',
'extend',
'if',
'else',
'for',
'each',
'use',
'forward',
'function',
'return'
]
}
],
'no-descending-specificity': null,
'comment-empty-line-before': null,
'selector-list-comma-newline-after': 'always-multi-line',
indentation: 2,
'declaration-block-no-duplicate-properties': [
true,
{
ignore: ['consecutive-duplicates']
}
],
'max-nesting-depth': [
5,
{
ignore: ['pseudo-classes'],
ignoreAtRules: ['media']
}
],
'value-keyword-case': [
'lower',
{
ignoreKeywords: ['BlinkMacSystemFont']
},
{
ignoreProperties: ['animation', 'font-family']
}
],
'selector-class-pattern': null,
'rule-empty-line-before': null,
'at-rule-empty-line-before': null,
'declaration-empty-line-before': null
}
};