We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b9ab6d commit 3255e25Copy full SHA for 3255e25
.eslintrc.json
@@ -38,6 +38,7 @@
38
"plugin:@typescript-eslint/recommended"
39
],
40
"rules": {
41
+ "@typescript-eslint/no-floating-promises": "warn",
42
"@typescript-eslint/no-non-null-assertion": "off",
43
"@typescript-eslint/no-use-before-define": "off",
44
"@typescript-eslint/no-warning-comments": "off",
@@ -57,6 +58,7 @@
57
58
},
59
"parserOptions": {
60
"ecmaVersion": 2018,
61
+ "project": "./tsconfig.json",
62
"sourceType": "module"
63
}
64
src/cli.ts
@@ -177,6 +177,7 @@ if (cli.input.length < 1) {
177
usage();
178
179
180
+// eslint-disable-next-line @typescript-eslint/no-floating-promises
181
run(cli.input[0], cli.input.slice(1)).then(success => {
182
if (!success) {
183
// eslint-disable-next-line no-process-exit
0 commit comments