forked from witnet/sheikah
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstylelint.config.js
27 lines (27 loc) · 1.02 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
module.exports = {
extends: ['stylelint-config-standard'],
plugins: ['stylelint-scss', 'stylelint-order'],
rules: {
'max-empty-lines': 1,
'value-list-max-empty-lines': 1,
'no-descending-specificity': null,
'rule-empty-line-before': [
'always',
{ except: ['after-single-line-comment', 'first-nested'] },
],
'font-family-no-missing-generic-family-keyword': null,
'string-no-newline': null,
'selector-max-universal': 1,
'selector-max-type': [0, { ignore: ['child', 'descendant', 'compounded'] }],
'scss/dollar-variable-colon-space-after': 'always',
'scss/dollar-variable-colon-space-before': 'never',
'scss/dollar-variable-no-missing-interpolation': true,
'scss/double-slash-comment-whitespace-inside': 'always',
'scss/operator-no-newline-before': true,
'scss/operator-no-unspaced': true,
'scss/selector-no-redundant-nesting-selector': true,
'at-rule-no-unknown': null,
'scss/at-rule-no-unknown': true,
'order/properties-alphabetical-order': true,
},
}