-
-
Notifications
You must be signed in to change notification settings - Fork 666
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
New option for next-tick-style
#2485
Labels
Comments
You could use However, improving the autofix to use |
@FloEdelmann I'd like to pick this up |
Sure, go ahead 🙂 |
@FloEdelmann I've submitted a PR 😄 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What rule do you want to change?
next-tick-style
Does this change cause the rule to produce more or fewer warnings?
No.
How will the change be implemented? (New option, new default behavior, etc.)?
If inside
async
function, provide autofix, otherwise no fix.Please provide some example code that this change will affect:
What does the rule currently do for this code?
Fixes my code to
nextTick().then(...)
What will the rule do after it's changed?
Enforce
await nextTick()
Additional context
I want the promise style use of
nextTick()
, but I don't want it fix tonextTick().then
, I wantawait nextTick()
.The text was updated successfully, but these errors were encountered: