forked from learningequality/kolibri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.stylelintrc.js
30 lines (27 loc) · 1021 Bytes
/
.stylelintrc.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
module.exports = {
plugins: ['stylelint-csstree-validator'],
extends: [
'stylelint-config-standard',
'stylelint-config-recommended-scss',
'stylelint-config-sass-guidelines',
'stylelint-config-recess-order',
'stylelint-config-prettier',
],
rules: {
'color-hex-length': 'long',
'csstree/validator': true,
/*
* Ignored rules
* Inline comments explain why rule is ignored
*/
'no-empty-source': null, // Empty style blocks in vue files
'font-family-no-missing-generic-family-keyword': null, // Noto Sans is always available
'color-named': null, // No opinion
'no-descending-specificity': null, // Would require refactor
'selector-no-qualifying-type': null, // Would require refactor
'max-nesting-depth': null, // Would require refactor
'selector-max-compound-selectors': null, // Would require refactor
'selector-class-pattern': null, // Deep selector classes do not follow this
'order/properties-alphabetical-order': null,
},
};