File tree Expand file tree Collapse file tree 3 files changed +881
-3290
lines changed
Expand file tree Collapse file tree 3 files changed +881
-3290
lines changed Original file line number Diff line number Diff line change 11import typescriptEslint from '@typescript-eslint/eslint-plugin' ;
2- import importPlugin from 'eslint-plugin-import' ;
2+ import { importX } from 'eslint-plugin-import-x ' ;
33import jest from 'eslint-plugin-jest' ;
44import prettierRecommended from 'eslint-plugin-prettier/recommended' ;
55import eslintConfigPrettier from 'eslint-config-prettier' ;
@@ -10,9 +10,9 @@ import js from '@eslint/js';
1010export default [
1111 js . configs . recommended ,
1212 ...typescriptEslint . configs [ 'flat/recommended' ] ,
13- importPlugin . flatConfigs . errors ,
14- importPlugin . flatConfigs . warnings ,
15- importPlugin . flatConfigs . typescript ,
13+ importX . flatConfigs . errors ,
14+ importX . flatConfigs . warnings ,
15+ importX . flatConfigs . typescript ,
1616 prettierRecommended ,
1717 eslintConfigPrettier ,
1818 {
@@ -32,7 +32,7 @@ export default [
3232 } ,
3333
3434 settings : {
35- 'import/resolver' : {
35+ 'import-x /resolver' : {
3636 typescript : {
3737 alwaysTryTypes : true ,
3838 project : './tsconfig.json'
@@ -41,7 +41,7 @@ export default [
4141 extensions : [ '.js' , '.ts' ]
4242 }
4343 } ,
44- 'import/parsers' : {
44+ 'import-x /parsers' : {
4545 '@typescript-eslint/parser' : [ '.ts' ]
4646 }
4747 }
You can’t perform that action at this time.
0 commit comments