diff --git a/eslint.config.js b/eslint.config.js index 3762778a..44224b59 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,7 +1,7 @@ import { defineConfig } from '@soybeanjs/eslint-config'; export default defineConfig( - { vue: true }, + { vue: true, unocss: true }, { rules: { 'vue/multi-word-component-names': [ diff --git a/package.json b/package.json index 413de73c..ee74bcbd 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "@types/lodash-es": "4.17.12", "@types/node": "20.11.24", "@types/nprogress": "0.2.3", + "@unocss/eslint-config": "0.58.5", "@unocss/preset-icons": "0.58.5", "@unocss/preset-uno": "0.58.5", "@unocss/transformer-directives": "0.58.5", diff --git a/packages/materials/src/libs/admin-layout/index.vue b/packages/materials/src/libs/admin-layout/index.vue index 0c0444c6..14a099fb 100644 --- a/packages/materials/src/libs/admin-layout/index.vue +++ b/packages/materials/src/libs/admin-layout/index.vue @@ -116,7 +116,7 @@ function handleClickMask() {
@@ -182,7 +182,7 @@ function handleClickMask() {