@@ -41,20 +41,15 @@ export default defineConfig(
4141 allow : [ 'error' , 'warn' ] ,
4242 } ,
4343 ] ,
44- 'no-underscore-dangle' : 'off' ,
4544 curly : 'error' ,
4645 '@typescript-eslint/consistent-type-imports' : 'error' ,
4746
4847 semi : [ 'error' , 'never' ] ,
4948 'unicorn/number-literal-case' : 'off' ,
50- 'unicorn/text-encoding-identifier-case' : 'off' ,
51- 'unicorn/no-new-array' : 'off' ,
5249 'unicorn/no-null' : 'off' ,
5350 'unicorn/prefer-module' : 'off' ,
5451 'unicorn/filename-case' : 'off' ,
5552 'unicorn/prevent-abbreviations' : 'off' ,
56- 'unicorn/prefer-code-point' : 'off' ,
57- 'unicorn/numeric-separators-style' : 'off' ,
5853
5954 '@typescript-eslint/no-unused-vars' : [
6055 'warn' ,
@@ -63,21 +58,21 @@ export default defineConfig(
6358 ignoreRestSiblings : true ,
6459 } ,
6560 ] ,
66- '@typescript-eslint/no-explicit-any' : 'warn' ,
67- '@typescript-eslint/ban-ts-comment' : [ 'error' , { 'ts-expect-error' : 'allow-with-description' , 'ts-ignore' : true } ] ,
61+ '@typescript-eslint/no-explicit-any' : 'error' ,
62+ '@typescript-eslint/ban-ts-comment' : [
63+ 'error' ,
64+ { 'ts-expect-error' : 'allow-with-description' , 'ts-ignore' : true } ,
65+ ] ,
6866 '@typescript-eslint/no-non-null-assertion' : 'off' ,
69- '@typescript-eslint/restrict-template-expressions' : 'off' ,
70- '@typescript-eslint/no-unsafe-member-access' : 'off' ,
71- '@typescript-eslint/no-unsafe-argument' : 'off' ,
72- '@typescript-eslint/no-unsafe-assignment' : 'off' ,
73- '@typescript-eslint/no-unsafe-call' : 'off' ,
74- '@typescript-eslint/no-unsafe-return' : 'off' ,
75- '@typescript-eslint/prefer-nullish-coalescing' : 'off' ,
67+ '@typescript-eslint/restrict-template-expressions' : [
68+ 'error' ,
69+ { allowNumber : true } ,
70+ ] ,
71+ '@typescript-eslint/prefer-nullish-coalescing' : 'error' ,
7672 '@typescript-eslint/no-deprecated' : 'warn' ,
77- '@typescript-eslint/restrict-plus-operands' : 'off' ,
78- 'no-empty' : 'off' ,
7973
8074 'import/no-unresolved' : 'off' ,
75+ 'import/extensions' : [ 'error' , 'always' , { ignorePackages : true } ] ,
8176 'import/order' : [
8277 'error' ,
8378 {
0 commit comments