@@ -5,6 +5,7 @@ const config = {
55 extends : [
66 'plugin:@typescript-eslint/eslint-recommended' ,
77 'plugin:@typescript-eslint/recommended' ,
8+ 'plugin:import/recommended' ,
89 'plugin:import/typescript' ,
910 'prettier' ,
1011 ] ,
@@ -41,15 +42,38 @@ const config = {
4142 '@typescript-eslint/no-explicit-any' : 'off' ,
4243 '@typescript-eslint/no-non-null-assertion' : 'off' ,
4344 '@typescript-eslint/no-unnecessary-condition' : 'error' ,
45+ '@typescript-eslint/no-unused-vars' : 'off' ,
4446 '@typescript-eslint/no-inferrable-types' : [
4547 'error' ,
4648 { ignoreParameters : true } ,
4749 ] ,
50+ 'import/default' : 'off' ,
51+ 'import/export' : 'off' ,
52+ 'import/namespace' : 'off' ,
53+ 'import/newline-after-import' : 'error' ,
4854 'import/no-cycle' : 'error' ,
55+ 'import/no-duplicates' : 'off' ,
56+ 'import/no-named-as-default-member' : 'off' ,
4957 'import/no-unresolved' : [ 'error' , { ignore : [ '^@tanstack/' ] } ] ,
5058 'import/no-unused-modules' : [ 'off' , { unusedExports : true } ] ,
59+ 'import/order' : [
60+ 'error' ,
61+ {
62+ groups : [
63+ 'builtin' ,
64+ 'external' ,
65+ 'internal' ,
66+ 'parent' ,
67+ 'sibling' ,
68+ 'index' ,
69+ 'object' ,
70+ 'type' ,
71+ ] ,
72+ } ,
73+ ] ,
5174 'no-redeclare' : 'off' ,
5275 'no-shadow' : 'error' ,
76+ 'sort-imports' : [ 'error' , { ignoreDeclarationSort : true } ] ,
5377 } ,
5478 overrides : [
5579 {
0 commit comments