@@ -14,15 +14,27 @@ module.exports = {
1414 'eslint:recommended' ,
1515 'plugin:@typescript-eslint/eslint-recommended' ,
1616 'plugin:react/recommended' ,
17+ 'plugin:react/jsx-runtime' ,
1718 'plugin:@typescript-eslint/recommended' ,
1819 'plugin:@typescript-eslint/recommended-requiring-type-checking' ,
1920 'prettier' ,
20- 'prettier/@typescript-eslint' ,
21- 'prettier/react' ,
2221 ] ,
22+ settings : {
23+ react : {
24+ version : '17.0' ,
25+ } ,
26+ } ,
2327 rules : {
24- '@typescript-eslint/prefer-regexp-exec' : 1 ,
25- '@typescript-eslint/ban-ts-ignore' : 0 ,
26- '@typescript-eslint/unbound-method' : 1 ,
28+ '@typescript-eslint/prefer-regexp-exec' : 'warn' ,
29+ '@typescript-eslint/ban-ts-comment' : 'off' ,
30+ '@typescript-eslint/unbound-method' : 'warn' ,
31+ '@typescript-eslint/no-explicit-any' : 'warn' ,
32+ '@typescript-eslint/no-unused-expressions' : 'warn' ,
33+ '@typescript-eslint/no-unsafe-return' : 'warn' ,
34+ '@typescript-eslint/no-unsafe-assignment' : 'warn' ,
35+ '@typescript-eslint/no-unsafe-call' : 'warn' ,
36+ '@typescript-eslint/no-unsafe-argument' : 'warn' ,
37+ '@typescript-eslint/no-empty-object-type' : 'warn' ,
38+ 'react/no-deprecated' : 'warn' ,
2739 } ,
2840} ;
0 commit comments