-
Notifications
You must be signed in to change notification settings - Fork 87
/
.stylelintrc.js
33 lines (33 loc) · 1.08 KB
/
.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
31
32
33
module.exports = {
defaultSeverity: 'error',
extends: ['stylelint-config-standard-scss'],
ignoreFiles: [
'**/dist/**',
'**/helpers/**',
'**/__tests__/**',
'tmp/**',
'**/types/**',
'**/styles/utilities/**',
'**/docs/public/**',
'**/docs/static/**',
],
plugins: ['stylelint-order'],
reportDescriptionlessDisables: true,
reportInvalidScopeDisables: true,
reportNeedlessDisables: true,
rules: {
'comment-empty-line-before': null,
'custom-property-pattern': null,
// `!important` should only be used in our utility classes if possible
'declaration-no-important': [true, { severity: 'warning' }],
'keyframes-name-pattern': null,
'no-descending-specificity': null,
'selector-class-pattern': null,
'value-keyword-case': ['lower', { ignoreKeywords: ['currentColor', 'optimizeSpeed'] }],
'order/order': ['custom-properties', 'declarations', 'rules'],
'scss/at-extend-no-missing-placeholder': null,
'scss/at-mixin-pattern': null,
'scss/comment-no-empty': null,
'scss/dollar-variable-empty-line-before': null,
},
};