mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 04:23:25 +00:00
add no-floating-promises rule
This commit is contained in:
parent
06c02021a3
commit
eb69f67ab7
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue