File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 38
38
" plugin:@typescript-eslint/recommended"
39
39
],
40
40
"rules" : {
41
+ "@typescript-eslint/no-floating-promises" : " warn" ,
41
42
"@typescript-eslint/no-non-null-assertion" : " off" ,
42
43
"@typescript-eslint/no-use-before-define" : " off" ,
43
44
"@typescript-eslint/no-warning-comments" : " off" ,
57
58
},
58
59
"parserOptions" : {
59
60
"ecmaVersion" : 2018 ,
61
+ "project" : " ./tsconfig.json" ,
60
62
"sourceType" : " module"
61
63
}
62
64
}
Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ if (cli.input.length < 1) {
177
177
usage ( ) ;
178
178
}
179
179
180
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises
180
181
run ( cli . input [ 0 ] , cli . input . slice ( 1 ) ) . then ( success => {
181
182
if ( ! success ) {
182
183
// eslint-disable-next-line no-process-exit
You can’t perform that action at this time.
0 commit comments