Open knolleary opened 2 years ago
I have the save issue. And I found this only happens when parserOptions.ecmaVersion >= 11
Same issue here too. Using it in a codemirror project. Any backslash within a string causes the linter to hang indefinitely.
If the code that is passed to
linter.verify
contains\\n
in a string, andno-useless-escape
is enabled, the function hangs and cpu usage hits 100%.Passing the exact same code through eslint (7.32.0) does not.
The following code can be used to reproduce: