From eb69f67ab7dd5acb7b5a5cfd34031c73bd54b629 Mon Sep 17 00:00:00 2001 From: Sahandevs Date: Sun, 7 Feb 2021 21:18:15 +0330 Subject: add no-floating-promises rule --- editors/code/.eslintrc.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editors/code/.eslintrc.js b/editors/code/.eslintrc.js index c6bf410f4..ffdd6ba25 100644 --- a/editors/code/.eslintrc.js +++ b/editors/code/.eslintrc.js @@ -33,6 +33,7 @@ module.exports = { "error", "always" ], - "@typescript-eslint/no-unnecessary-type-assertion": "error" + "@typescript-eslint/no-unnecessary-type-assertion": "error", + "@typescript-eslint/no-floating-promises": "error" } }; -- cgit v1.2.3