2021-10-16 10:29:32 +00:00
|
|
|
module.exports = {
|
|
|
|
extends: [
|
|
|
|
'stylelint-config-recommended',
|
|
|
|
'stylelint-prettier/recommended',
|
|
|
|
'stylelint-config-rational-order',
|
|
|
|
],
|
|
|
|
|
|
|
|
plugins: ['stylelint-scss', 'stylelint-order'],
|
|
|
|
|
|
|
|
rules: {
|
|
|
|
'at-rule-no-unknown': null,
|
|
|
|
'no-irregular-whitespace': null,
|
|
|
|
'scss/at-rule-no-unknown': [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
ignoreAtRules: ['tailwind'],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'font-family-no-missing-generic-family-keyword': [
|
|
|
|
true,
|
|
|
|
{ ignoreFontFamilies: ['Fallback'] },
|
|
|
|
],
|
|
|
|
'selector-pseudo-class-no-unknown': [
|
|
|
|
true,
|
|
|
|
{ ignorePseudoClasses: ['deep'] },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
ignoreFiles: ['dist/**/*.css'],
|
2021-10-31 02:12:46 +00:00
|
|
|
|
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
files: ['**/*.vue'],
|
|
|
|
customSyntax: 'postcss-html',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
files: ['**/*.scss'],
|
|
|
|
customSyntax: 'postcss-scss',
|
|
|
|
},
|
|
|
|
],
|
2021-10-16 10:29:32 +00:00
|
|
|
}
|