aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSahandevs <[email protected]>2021-02-07 17:48:15 +0000
committerSahandevs <[email protected]>2021-02-07 17:48:15 +0000
commiteb69f67ab7dd5acb7b5a5cfd34031c73bd54b629 (patch)
tree1835933fc3731c1f2254382d0c46ca7bf5d00507
parent06c02021a3d4a4d27d7c58bf54757588a28653cc (diff)
add no-floating-promises rule
-rw-r--r--editors/code/.eslintrc.js3
1 files changed, 2 insertions, 1 deletions
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 = {
33 "error", 33 "error",
34 "always" 34 "always"
35 ], 35 ],
36 "@typescript-eslint/no-unnecessary-type-assertion": "error" 36 "@typescript-eslint/no-unnecessary-type-assertion": "error",
37 "@typescript-eslint/no-floating-promises": "error"
37 } 38 }
38}; 39};