New issue
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
'range' of null TypeError from template-curly-spacing rule #13066
Comments
I also, did a test on the master and its working fine! |
Hi @Niels-NTG, thanks for the issue! This is a bug in Related issue: babel/babel#10904 |
The following does not trigger the 'range' of null error:
but the following does:
|
It seems very much related. import(
`locale/${LANGUAGE}/default.po`
).then((languagePo) => {
window.i18n = new Jed(languagePo.default);
}); … to this makes the error disappear. import(
'locale/' + LANGUAGE + '/default.po'
).then((languagePo) => {
window.i18n = new Jed(languagePo.default);
}); How to determine just based on your and my case what exactly is going wrong. |
Closing since this is a bug in |
Tell us about your environment
Environment Info:
Node version: v13.11.0
npm version: v6.13.7
Local ESLint version: v6.8.0 (Currently used)
Global ESLint version: v5.14.1
What parser (default, Babel-ESLint, etc.) are you using?
Please show your full configuration:
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.
(Fragment of
application/main.js
)What did you expect to happen?
ESLint would report no errors, warnings
What actually happened? Please include the actual, raw output from ESLint.
ESLint does not lint the file
application/main.js
like normal. Instead it throws the following error, which seem to originate from thetemplate-curly-spacing
rule.(log used full, absolute paths. I replaced them with the relative path for this issue for privacy reasons)
Are you willing to submit a pull request to fix this bug?
Unsure.
The text was updated successfully, but these errors were encountered: