From 86c9c36cda155e21ac36e12e586f7af47f3837ba Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 9 Oct 2024 18:23:45 +0200 Subject: [PATCH] chore: cleanup unused eslint imports --- eslint.config.mjs | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) 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, {