From 44de7f705cea94d4781e4eb4b2d71a4ee4f0e89d Mon Sep 17 00:00:00 2001 From: Daniel Bankhead Date: Tue, 3 Oct 2023 16:56:42 -0700 Subject: [PATCH] Revert "feat: no-floating-promises (#756)" (#808) This reverts commit c93e73316164137e29daa7bea8a48083f7d7c1da. --- .eslintrc.json | 2 -- src/cli.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index dc77e888..5bba7289 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -38,7 +38,6 @@ "plugin:@typescript-eslint/recommended" ], "rules": { - "@typescript-eslint/no-floating-promises": "warn", "@typescript-eslint/no-non-null-assertion": "off", "@typescript-eslint/no-use-before-define": "off", "@typescript-eslint/no-warning-comments": "off", @@ -58,7 +57,6 @@ }, "parserOptions": { "ecmaVersion": 2018, - "project": "./tsconfig.json", "sourceType": "module" } } diff --git a/src/cli.ts b/src/cli.ts index 49671caa..4f8f137b 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -169,7 +169,6 @@ if (cli.input.length < 1) { usage(); } -// eslint-disable-next-line @typescript-eslint/no-floating-promises run(cli.input[0], cli.input.slice(1)).then(success => { if (!success) { // eslint-disable-next-line no-process-exit