Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

New option fornext-tick-style #2485

Open
@fisker

Description

@fisker

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 insideasync function, provide autofix, otherwise no fix.

Please provide some example code that this change will affect:

<script setup>constfoo= ()=> {nextTick(()=> {// ...})}</script>

What does the rule currently do for this code?

Fixes my code tonextTick().then(...)

What will the rule do after it's changed?

Enforceawait nextTick()

Additional context

I want the promise style use ofnextTick(), but I don't want it fix tonextTick().then, I wantawait nextTick().

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp