Skip to content

特定の構文で括弧を使うとprettier-ignoreで一部が消える #4

@uzmoi

Description

@uzmoi

postfixの構文(call, prop, index)のパーサーがtargetの分を含まないようにloc.startを偽っているせい。
locStartで差し替えれば良さそう。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions