Commit 3218183f authored by Jstar Xu's avatar Jstar Xu

chore: 去除eslint-auto-import

parent 54a1c464
......@@ -32,11 +32,11 @@ export function setupPlugins(
// }),
AutoImport({
resolvers: [ElementPlusResolver()],
eslintrc: {
enabled: true,
filepath: './eslint-auto-import.json',
globalsPropValue: 'readonly',
},
// eslintrc: {
// enabled: true,
// filepath: './eslint-auto-import.json',
// globalsPropValue: 'readonly',
// },
}),
Components({
resolvers: [ElementPlusResolver()],
......
......@@ -4,7 +4,7 @@ import tseslint from 'typescript-eslint'
import pluginVue from 'eslint-plugin-vue'
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'
import vueParser from 'vue-eslint-parser'
import autoImportGlobals from './eslint-auto-import.json' assert { type: 'json' }
// import autoImportGlobals from './eslint-auto-import.json' assert { type: 'json' }
import { globalIgnores } from 'eslint/config'
export default tseslint.config(
......@@ -18,7 +18,7 @@ export default tseslint.config(
files: ['**/*.{js,mjs,ts,mts,vue,jsx,tsx}'],
languageOptions: {
globals: {
...autoImportGlobals.globals,
// ...autoImportGlobals.globals,
...globals.browser,
NodeJS: 'readonly',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment