Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(eslint-plugin): [no-floating-promises] flag result of .map(async) (
#7897) * flag arrays of promises * remove comment * trying to trigger CI * Substantial simplification * add some grody test cases for generics * flip if/else * add detail to test case * switch to isArrayLikeType * Revert "switch to isArrayLikeType" This reverts commit 2afe794. * add checks for tuples * One more test case! * else if * Remove unnecessary whitespace * Remove invalid test case * Add to docs * Add test cases around array that's fine but tuple that isn't * tweaks
- Loading branch information
1 parent
6a219bd
commit 5857356
Showing
3 changed files
with
238 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters