-
Notifications
You must be signed in to change notification settings - Fork 1
/
.stylelintrc.js
23 lines (23 loc) · 960 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
module.exports = {
extends: ['stylelint-config-standard', 'stylelint-config-standard-scss'],
rules: {
// Prevent percentages, they break in cssnano
'alpha-value-notation': 'number',
'scss/dollar-variable-pattern': null,
// Allow underscores in class names (BEM)
'selector-class-pattern': null,
// Allow underscores in placeholders (BEM)
'scss/percent-placeholder-pattern': null,
// Allow use of variables for font family
'font-family-no-missing-generic-family-keyword': null,
// We store font families names in maps.
'font-family-name-quotes': null,
// Avoid issues related to +
'scss/operator-no-newline-after': null,
// Might be re-enabled once the current issues are fixed
'declaration-block-no-redundant-longhand-properties': null,
// Disable checks because automated fixes would be breaking
'color-function-notation': null,
'scss/at-extend-no-missing-placeholder': null,
},
};