@@ -48,30 +48,24 @@ export default tsEslint.config(
4848 rules : {
4949 'prefer-const' : [ 'error' , { destructuring : 'all' } ] ,
5050 'unicorn/filename-case' : [ 'warn' , { case : 'camelCase' } ] ,
51- 'unicorn/prevent-abbreviations' : 'warn' ,
5251 'unicorn/no-null' : 'off' ,
5352 'unicorn/no-useless-switch-case' : 'error' ,
53+ 'unicorn/prevent-abbreviations' : 'warn' ,
54+ '@typescript-eslint/consistent-type-imports' : 'error' ,
5455 '@typescript-eslint/member-ordering' : 'warn' ,
5556 '@typescript-eslint/no-explicit-any' : 'off' ,
56- '@typescript-eslint/no-use-before-define' : 'off' ,
57- '@typescript-eslint/no-non-null-asserted-nullish-coalescing' : 'error' ,
58- '@typescript-eslint/no-non-null-assertion' : 'warn' ,
59- '@typescript-eslint/no-unsafe-return' : 'warn' ,
60- '@typescript-eslint/no-unsafe-call' : 'error' ,
61- '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
62- '@typescript-eslint/ban-ts-comment' : 'off' ,
63- '@typescript-eslint/ban-types' : 'off' ,
64- '@typescript-eslint/no-empty-function' : 'off' ,
6557 '@typescript-eslint/no-misused-promises' : [
6658 'error' ,
6759 {
6860 checksConditionals : true ,
6961 } ,
7062 ] ,
63+ '@typescript-eslint/no-non-null-asserted-nullish-coalescing' : 'error' ,
64+ '@typescript-eslint/no-non-null-assertion' : 'warn' ,
7165 '@typescript-eslint/no-unnecessary-type-assertion' : 'warn' ,
66+ '@typescript-eslint/no-unsafe-return' : 'warn' ,
67+ '@typescript-eslint/no-unsafe-call' : 'error' ,
7268 '@typescript-eslint/require-await' : 'warn' ,
73- '@typescript-eslint/no-empty-interface' : 'off' ,
74- '@typescript-eslint/consistent-type-imports' : 'error' ,
7569 } ,
7670 } ,
7771 {
@@ -84,9 +78,7 @@ export default tsEslint.config(
8478 '@typescript-eslint/no-unsafe-assignment' : 'off' ,
8579 } ,
8680 languageOptions : {
87- globals : {
88- ...vitest . environments . env . globals ,
89- } ,
81+ globals : vitest . environments . env . globals ,
9082 } ,
9183 } ,
9284 {
@@ -96,6 +88,7 @@ export default tsEslint.config(
9688 turbo,
9789 } ,
9890 rules : {
91+ ...tsEslint . configs . disableTypeChecked ,
9992 'turbo/no-undeclared-env-vars' : 'error' ,
10093 } ,
10194 } ,
0 commit comments