mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-14 12:13:52 +00:00
chore: cleanup unused eslint imports
This commit is contained in:
parent
632e70441e
commit
86c9c36cda
|
@ -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,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user