-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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-unsafe-return] check promise any (#8693)
* feat(eslint-plugin): [no-unsafe-return] check promise any * add testcases * apply reviews * fix lint errors * refactor * add type * improve messages * update comment * apply review * fix * fix tests * update docs * apply review * fix tests * change to use internal getAwaitedType * add todo comment * Update packages/eslint-plugin/docs/rules/no-unsafe-return.mdx Co-authored-by: Josh Goldberg ✨ <[email protected]> * apply reviews --------- Co-authored-by: Josh Goldberg ✨ <[email protected]>
- Loading branch information
1 parent
3d9ae44
commit c20bd2f
Showing
7 changed files
with
375 additions
and
26 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
31 changes: 20 additions & 11 deletions
31
packages/eslint-plugin/tests/docs-eslint-output-snapshots/no-unsafe-return.shot
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.