diff --git a/eslint.config.mjs b/eslint.config.mjs index c4af2243..d70da086 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -1,20 +1,10 @@ -import { FlatCompat } from '@eslint/eslintrc'; import pluginJs from '@eslint/js'; +import prettierConfig from '@vue/eslint-config-prettier'; import vueEslintConfig from '@vue/eslint-config-typescript'; -import prettierConfig from "@vue/eslint-config-prettier"; import pluginVue from 'eslint-plugin-vue'; import globals from 'globals'; -import path from 'node:path'; -import { fileURLToPath } from 'node:url'; import tseslint from 'typescript-eslint'; -const __filename = fileURLToPath(import.meta.url); -const __dirname = path.dirname(__filename); - -const compat = new FlatCompat({ - baseDirectory: __dirname, -}); - export default [ { languageOptions: { globals: globals.browser } }, pluginJs.configs.recommended, @@ -24,7 +14,7 @@ export default [ extends: [ 'recommended', // 'strict', - ] + ], }), prettierConfig, {