We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
postfixの構文(call, prop, index)のパーサーがtargetの分を含まないようにloc.startを偽っているせい。 locStartで差し替えれば良さそう。
The text was updated successfully, but these errors were encountered:
9213545
二点考慮漏れで直ってなかった。 一つは二項演算子の糖衣構文で、これは.args[0]を読めばいい。 二つ目が厄介で、今みたいに子要素の位置を読んでると、括弧が含まれない。
.args[0]
// prettier-ignore (1 + 2) * 3
こういうコードを入れると、1の左の括弧のみ消える。
1
Sorry, something went wrong.
fix: locStartを二項演算子の糖衣構文に対応 (#4 の続き)
locStart
40ace22
括弧には対応できないが取り敢えず。
No branches or pull requests
postfixの構文(call, prop, index)のパーサーがtargetの分を含まないようにloc.startを偽っているせい。
locStartで差し替えれば良さそう。
The text was updated successfully, but these errors were encountered: