1- import { fixupPluginRules } from '@eslint/compat'
21import { FlatCompat } from '@eslint/eslintrc'
32import js from '@eslint/js'
43import typescriptEslint from '@typescript-eslint/eslint-plugin'
54import tsParser from '@typescript-eslint/parser'
6- import _import from 'eslint-plugin-import'
75import prettier from 'eslint-plugin-prettier'
86import globals from 'globals'
97import path from 'node:path'
@@ -37,12 +35,10 @@ export default [
3735 ...compat . extends (
3836 'eslint:recommended' ,
3937 'plugin:@typescript-eslint/eslint-recommended' ,
40- 'plugin:@typescript-eslint/recommended' ,
41- 'plugin:prettier/recommended'
38+ 'plugin:@typescript-eslint/recommended'
4239 ) ,
4340 {
4441 plugins : {
45- import : fixupPluginRules ( _import ) ,
4642 prettier,
4743 '@typescript-eslint' : typescriptEslint
4844 } ,
@@ -63,22 +59,12 @@ export default [
6359 }
6460 } ,
6561
66- settings : {
67- 'import/resolver' : {
68- typescript : {
69- alwaysTryTypes : true ,
70- project : 'tsconfig.eslint.json'
71- }
72- }
73- } ,
74-
7562 rules : {
7663 '@typescript-eslint/no-explicit-any' : 'off' ,
7764 camelcase : 'off' ,
7865 'eslint-comments/no-use' : 'off' ,
7966 'eslint-comments/no-unused-disable' : 'off' ,
8067 'i18n-text/no-en' : 'off' ,
81- 'import/no-namespace' : 'off' ,
8268 'no-console' : 'off' ,
8369 'no-shadow' : 'off' ,
8470 'no-unused-vars' : 'off' ,
0 commit comments