chore: cleanup unused eslint imports

This commit is contained in:
Matthias 2024-10-09 18:23:45 +02:00
parent 632e70441e
commit 86c9c36cda

View File

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