Closed laurent22 closed 4 years ago
I was not able to repro the issue, see the commit https://github.com/aladdin-add/eslint-plugin/commit/a5687d2735702d28393c0a58ad191d2351e549a0
can you repro in the eslint demo page: https://eslint.org/demo, as we didn't modify the rule but adding a fixer.
closing, as cannot be reproduced. please feel free to open a new issue if you encounter it again! :)
Tell us about your environment
In this file:
The rule replaces the require statement to:
Even though the underscore function is used in
throw new Error(_('oops'));