File tree 2 files changed +7
-6
lines changed 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"env" : {
3
3
"browser" : true ,
4
- "commonjs" : true ,
5
4
"jest" : true ,
6
5
"node" : true
7
6
},
8
- "extends" : " eslint:recommended" ,
7
+ "extends" : [ " eslint:recommended" , " plugin:@typescript-eslint/recommended " ] ,
9
8
"parser" : " @typescript-eslint/parser" ,
10
9
"parserOptions" : {
11
- "ecmaVersion" : 6 ,
10
+ "ecmaVersion" : 12 ,
12
11
"sourceType" : " module"
13
12
},
14
- "plugins" : [" prettier" ],
13
+ "plugins" : [" @typescript-eslint " , " prettier" ],
15
14
"rules" : {
16
- "no-debugger" : " error" ,
15
+ "@typescript-eslint/no-var-requires" : " off" ,
16
+ "@typescript-eslint/no-explicit-any" : " off" ,
17
17
"no-console" : " error" ,
18
+ "no-debugger" : " error" ,
18
19
"prettier/prettier" : " error"
19
20
}
20
21
}
Original file line number Diff line number Diff line change 1
1
import parse from 'html-react-parser' ;
2
2
3
- // @ts -expect-error
3
+ // @ts -expect-error Expected 1-2 arguments, but got 0.
4
4
parse ( ) ;
You can’t perform that action at this time.
0 commit comments