chore: add unocss eslint

This commit is contained in:
xingyu 2023-09-22 17:48:56 +08:00
parent 436cc8069c
commit 57a7ed46e7
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

@ -85,6 +85,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",