chore: add unocss eslint

(cherry picked from commit 57a7ed46e7)
This commit is contained in:
xingyu 2023-09-22 17:48:56 +08:00 committed by shizhong
parent 86695606ab
commit 592d902529
2 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,8 @@ module.exports = defineConfig({
'plugin:vue/vue3-recommended',
'plugin:@typescript-eslint/recommended',
'prettier',
'plugin:prettier/recommended'
'plugin:prettier/recommended',
'@unocss'
],
rules: {
'vue/script-setup-uses-vars': 'error',

View File

@ -87,6 +87,7 @@
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"@unocss/transformer-variant-group": "^0.56.1",
"@unocss/eslint-config": "^0.56.1",
"@vitejs/plugin-legacy": "^4.1.1",
"@vitejs/plugin-vue": "^4.3.4",
"@vitejs/plugin-vue-jsx": "^3.0.2",