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-misused-promises] check more places for chec…
…ksVoidReturn (#4541) * refactor(eslint-plugin): create isVoidReturningFunctionType * feat(eslint-plugin): add checkAssignments and checkVariableDeclaration * test(eslint-plugin): add valid test cases * feat(eslint-plugin): add object property checks * feat(eslint-plugin): add checkReturnStatements * feat(eslint-plugin): add checkJSXAttributes * fix(website): resolve newly introduced lint errors * test(eslint-plugin): worship code coverage * Apply suggestions from code review Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com> * fix(eslint-plugin): rename checker functions to singular * fix(eslint-plugin): align error messages * refactor(eslint-plugin): change MessageId * refactor(eslint-plugin): fix if statements style * refactor(eslint-plugin): no need of getTypeAtLocation * refactor(eslint-plugin): make coverage 100% * refactor(eslint-plugin): update comment Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com>
- Loading branch information
1 parent
851bb90
commit 052cf51
Showing
3 changed files
with
476 additions
and
37 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
Oops, something went wrong.