-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix(eslint-plugin): [no-misused-promises] improve report loc for methods #10216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
JoshuaKGoldberg
merged 22 commits into
typescript-eslint:main
from
gyumong:fix-no-misused-promises
Nov 10, 2024
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
359e052
fix(eslint-plugin): correctly report errors for async methods returni…
gyumong d8c6635
test add coverage
gyumong 3d26e12
fix: remove unreachable code
gyumong a5dbd87
fix: simplify redundant if checks in context.report logic
gyumong a762f40
test: specify error location in voidReturnProperty test cases
gyumong 8b1393c
Merge branch 'main' into fix-no-misused-promises
gyumong 432b792
fix lint
gyumong 2207c17
Merge branch 'main' into fix-no-misused-promises
gyumong aa8f8c6
Merge branch 'main' into fix-no-misused-promises
gyumong 4c7d787
test: add full loc (line, endLine, column, endColumn) to existing tes…
gyumong 65ae628
test: add new invalid test cases for promise-returning methods withou…
gyumong 801bf4c
fix : test col
gyumong f367c20
fix: log
gyumong 09be707
Merge branch 'main' into fix-no-misused-promises
gyumong e79283c
Update packages/eslint-plugin/src/rules/no-misused-promises.ts
gyumong 1278e3d
Merge branch 'main' into fix-no-misused-promises
gyumong 2bc7666
refactor(no-misused-promises): improve function type checking in void…
gyumong 2da0b5c
test(no-misused-promises): add test cases for isFunction utility usage
gyumong ac34e36
Merge branch 'main' into fix-no-misused-promises
gyumong c7ac4e6
test(no-misused-promises): add test cases
gyumong 50a6252
Merge branch 'main' into fix-no-misused-promises
gyumong eb66dbd
Merge branch 'main' into fix-no-misused-promises
gyumong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.