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'],
|
||||
};
|
||||
@@ -81,6 +81,7 @@
|
||||
"stylelint-config-prettier": "^9.0.3",
|
||||
"stylelint-config-rational-order": "^0.1.2",
|
||||
"stylelint-config-recommended-vue": "^1.4.0",
|
||||
"stylelint-config-recommended": "^13.0.0",
|
||||
"stylelint-config-standard": "^29.0.0",
|
||||
"stylelint-order": "^5.0.0",
|
||||
"typescript": "^4.8.4",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<a-layout-footer class="footer"> WnCloud </a-layout-footer>
|
||||
<a-layout-footer class="footer">WnCloud</a-layout-footer>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup></script>
|
||||
|
||||
@@ -7362,7 +7362,7 @@ stylelint-config-recommended-vue@^1.4.0:
|
||||
stylelint-config-html ">=1.0.0"
|
||||
stylelint-config-recommended ">=6.0.0"
|
||||
|
||||
stylelint-config-recommended@>=6.0.0:
|
||||
stylelint-config-recommended@>=6.0.0, stylelint-config-recommended@^13.0.0:
|
||||
version "13.0.0"
|
||||
resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-13.0.0.tgz#c48a358cc46b629ea01f22db60b351f703e00597"
|
||||
integrity sha512-EH+yRj6h3GAe/fRiyaoO2F9l9Tgg50AOFhaszyfov9v6ayXJ1IkSHwTxd7lB48FmOeSGDPLjatjO11fJpmarkQ==
|
||||
|
||||
Reference in new issue
Block a user