False positive of regexp/no-unused-capturing-group
with hasIndices
#675
Labels
bug
Something isn't working
regexp/no-unused-capturing-group
with hasIndices
#675
Information:
eslint-plugin-regexp
version: 2.1.1Description
https://ota-meshi.github.io/eslint-plugin-regexp/playground/#eJwVyUEKwyAQQNGryGyiUJV2KfQktYugUxFkRsYIgZC7N1l9eP+AxBkhXKGxKUH1Vl7/mI3PkSLdzA1d46IFHe6Y9HLtxbhKuSYcn+fXRIIHyGw4IBwgWHDvnthOmgOzTWvfplQqtgjPDuF1nn+8YyoG
In this case, the capture group is used by
.indices[1]
. But the rule reports the error.The text was updated successfully, but these errors were encountered: