@@ -41,7 +41,10 @@ const config = {
4141 '@typescript-eslint/ban-types' : 'off' ,
4242 '@typescript-eslint/ban-ts-comment' : 'off' ,
4343 '@typescript-eslint/consistent-type-definitions' : 'off' ,
44- '@typescript-eslint/consistent-type-imports' : 'error' ,
44+ '@typescript-eslint/consistent-type-imports' : [
45+ 'error' ,
46+ { prefer : 'type-imports' } ,
47+ ] ,
4548 '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
4649 '@typescript-eslint/no-empty-interface' : 'off' ,
4750 '@typescript-eslint/no-explicit-any' : 'off' ,
@@ -50,18 +53,38 @@ const config = {
5053 '@typescript-eslint/no-unused-vars' : 'off' ,
5154 '@typescript-eslint/no-inferrable-types' : [
5255 'error' ,
53- {
54- ignoreParameters : true ,
55- } ,
56+ { ignoreParameters : true } ,
5657 ] ,
57- 'no-shadow' : 'error' ,
58+ 'import/default' : 'off' ,
59+ 'import/export' : 'off' ,
60+ 'import/namespace' : 'off' ,
61+ 'import/newline-after-import' : 'error' ,
5862 'import/no-cycle' : 'error' ,
63+ 'import/no-duplicates' : 'off' ,
64+ 'import/no-named-as-default-member' : 'off' ,
5965 'import/no-unresolved' : [ 'error' , { ignore : [ '^@tanstack/' ] } ] ,
6066 'import/no-unused-modules' : [ 'off' , { unusedExports : true } ] ,
67+ 'import/order' : [
68+ 'error' ,
69+ {
70+ groups : [
71+ 'builtin' ,
72+ 'external' ,
73+ 'internal' ,
74+ 'parent' ,
75+ 'sibling' ,
76+ 'index' ,
77+ 'object' ,
78+ 'type' ,
79+ ] ,
80+ } ,
81+ ] ,
6182 'no-async-promise-executor' : 'off' ,
6283 'no-empty' : 'off' ,
6384 'no-redeclare' : 'off' ,
85+ 'no-shadow' : 'error' ,
6486 'no-undef' : 'off' ,
87+ 'sort-imports' : [ 'error' , { ignoreDeclarationSort : true } ] ,
6588 } ,
6689 overrides : [
6790 {
0 commit comments