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?
to your account
Tell us about your environment
What parser are you using?: default
Please show your full configuration:
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
const passed = `hoge fuga`;
const error = `hoge fuga
// \U3000 is included between all `hoge` and `fuga`.
// But ESLint only gives an error on the 3rd line.
yarn eslint .\src\no-irregular-whitespace.js
What did you expect to happen?
ESLint does not raise an error for irregular-whitespace in template literals.
What actually happened? Please include the actual, raw output from ESLint.
3:5 error Irregular whitespace not allowed no-irregular-whitespace
Are you willing to submit a pull request to fix this bug?
Probably difficult. I want to see if this is a bug or the correct behavior.
The text was updated successfully, but these errors were encountered:
Fix: no-irregular-whitespace skipTemplates false positive (fixes #13852)
Hi @eai04191, thanks for the bug report!
I confirmed this bug in our online demo and prepared a fix.
Sorry, something went wrong.
Update: fix 'skip' options in no-irregular-whitespace (fixes #13852) (#…
* Fix: no-irregular-whitespace skipTemplates false positive (fixes #13852)
* Add more tests
Successfully merging a pull request may close this issue.