fix: fixed stylelint
This commit is contained in:
1 parent
9506aad0e3
commit
de970fdd71
4 files changed
+14
-2
No files matched your search
@@ -4,10 +4,14 @@ module.exports = {
|
||||
'stylelint-config-rational-order',
|
||||
'stylelint-config-prettier',
|
||||
'stylelint-config-recommended-vue',
|
||||
'stylelint-config-recommended',
|
||||
],
|
||||
defaultSeverity: 'warning',
|
||||
plugins: ['stylelint-order'],
|
||||
rules: {
|
||||
'selector-anb-no-unmatchable': null,
|
||||
'media-query-no-invalid': null,
|
||||
'media-feature-name-no-unknown': null,
|
||||
'at-rule-no-unknown': [
|
||||
true,
|
||||
{
|
||||
@@ -26,5 +30,12 @@ module.exports = {
|
||||
ignorePseudoClasses: ['deep'],
|
||||
},
|
||||
],
|
||||
'declaration-block-no-duplicate-properties': [
|
||||
true,
|
||||
{
|
||||
ignore: ['consecutive-duplicates'], // or 'consecutive-duplicates-with-same-value'
|
||||
},
|
||||
],
|
||||
},
|
||||
files: ['*.vue', '**/*.vue', '*.css', '**/*.css'],
|
||||
};
|
||||
Reference in new issue
Block a user