-
-
Notifications
You must be signed in to change notification settings - Fork 769
feat(linter): Add promise/no-return-wrap
#9537
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
Boshen
merged 26 commits into
oxc-project:main
from
therewillbecode:feat/promise-no-return-wrap
Mar 11, 2025
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
9a6f450
Init rule for promise no-return-wrap
therewillbecode 86b3b2d
Add initial docs
therewillbecode f200c9f
Add inside then or catch check
therewillbecode 0b0c747
More docs
therewillbecode 9d19d55
Handle call expression inside then cb
therewillbecode 0703306
Rename func
therewillbecode 2670be5
Examine return arg
therewillbecode c907cc8
Format test strings
therewillbecode 0f5d3b8
wip
therewillbecode d35692a
wip
therewillbecode 3dd0a20
wip
therewillbecode eb9312f
Add test case
therewillbecode 940b0c2
Handle bind(this)
therewillbecode 3c1f108
Fomat test case strings
therewillbecode 3bb771a
Tests passing
therewillbecode d53d643
Add another test case
therewillbecode 0ea0aa0
Fix clippys
therewillbecode ffb01c3
Better msg for user
therewillbecode c80a9b4
Add doc examples
therewillbecode 1e971ec
Handle finally
therewillbecode 462b217
Use existing is_promise from utils
therewillbecode d8d551c
Switch arg order
therewillbecode 810688f
Document option
therewillbecode d03a02a
Add test snapshot
therewillbecode f7122ac
Implement PR feedback
therewillbecode d744441
[autofix.ci] apply automated fixes
autofix-ci[bot] 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
Better msg for user
- Loading branch information
commit ffb01c35cfef73b4a413f6a16fdabe339fd1663d
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
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.