2021-10-20 04:34:24 -05:00
|
|
|
module.exports = {
|
|
|
|
extends: ['stylelint-config-sass-guidelines', 'stylelint-config-prettier'],
|
|
|
|
ignoreFiles: ['**/node_modules/**/*.scss'],
|
|
|
|
rules: {
|
|
|
|
'at-rule-no-vendor-prefix': null,
|
|
|
|
'color-hex-case': null,
|
|
|
|
'color-hex-length': null,
|
|
|
|
'color-named': null,
|
|
|
|
'declaration-block-no-duplicate-properties': [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
ignore: 'consecutive-duplicates-with-different-values',
|
|
|
|
ignoreProperties: ['font-size', 'word-break'],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
// Disable equivalent "borderZero" sass-lint rule
|
|
|
|
'declaration-property-value-disallowed-list': {
|
2022-03-23 08:40:54 -05:00
|
|
|
border: [],
|
|
|
|
'border-bottom': [],
|
|
|
|
'border-left': [],
|
|
|
|
'border-right': [],
|
|
|
|
'border-top': [],
|
2021-10-20 04:34:24 -05:00
|
|
|
},
|
|
|
|
'function-comma-space-after': null,
|
|
|
|
'function-url-quotes': null,
|
|
|
|
'length-zero-no-unit': null,
|
|
|
|
'max-nesting-depth': null,
|
|
|
|
'number-no-trailing-zeros': null,
|
|
|
|
'property-no-vendor-prefix': null,
|
|
|
|
'rule-empty-line-before': null,
|
|
|
|
'scss/at-function-pattern': null,
|
|
|
|
'scss/at-mixin-pattern': null,
|
|
|
|
'scss/dollar-variable-pattern': null,
|
|
|
|
'scss/at-extend-no-missing-placeholder': null,
|
|
|
|
'selector-class-pattern': null,
|
|
|
|
'selector-max-compound-selectors': null,
|
|
|
|
'selector-max-id': null,
|
|
|
|
'selector-no-qualifying-type': null,
|
|
|
|
'selector-pseudo-element-colon-notation': null,
|
|
|
|
'shorthand-property-no-redundant-values': null,
|
|
|
|
'value-no-vendor-prefix': null,
|
|
|
|
},
|
|
|
|
};
|