add no-floating-promises rule

This commit is contained in:
Sahandevs 2021-02-07 21:18:15 +03:30
parent 06c02021a3
commit eb69f67ab7

View file

@ -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"
}
};