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
Eslint fails on windows #4080
Comments
Thanks for the issue! If you're reporting a bug, please be sure to include:
Requesting a new rule? Please see Proposing a New Rule for instructions. |
It is worth noting that The entire line is: '{{getObjects(row.getProperty(col.field))}}' + |
Can you try to isolate a reproducible code snippet that would fail? It's hard to figure out what's going on from the line you posted above? P.S. Most of ESLint team uses Windows machines to create ESLint:-) edit: Hmm.. this seems like an issue in the core, when it tries to replace |
@ilyavolodin Thanks. The line that is causing the issue is: '{{getObjects(row.getProperty(col.field))}}' + |
Disable rules one by one? Wow. That might take some time. Alright. I better get to it. |
One more thing, before you start disabling rules, can you try running ESLint without |
You still need ecmaFeatures even with babel-eslint, as some rules depend on those settings. From the call stack, it looks like no-multi-spaces is the culprit. Try disabling that first. |
Is it only recently that some rules have used ecmaFeatures? I should probably add a note about that in the readme then. |
Nope, it's been like that for a while. We need to know about |
Also mentioned in the docs: http://eslint.org/docs/user-guide/configuring#specifying-parser |
Ok I see can it for |
It looks like this might be due to concatenation in the reported message: message: "Multiple spaces found before '" + token.value + "'.", How do we use substitution when using |
Wow! Thanks for your help guys! |
Ah, OK, got it. Should we just fix this rule, or should we modify core to not try to do substitution when no |
Yup, both |
Fix: message templates fail when no parameters are passed (fixes #4080)
I have the utter misfortune of having to develop on windows at work.
As can be expected, I seem to be encountering the following errors:
Running via Gulp
Running directly via CLI
The error also occurs when I directly invoke Eslint CLI:
I am suspecting this has something to do with the Eslint reporter since it is failing on this line.
I am not using any custom eslint reporters.
Any suggestions?
My setup
OS: Windows 7
Node: v4.1.2
NPM: v2.14.4
Eslint: v1.6.0
gulpfile
.eslintrc
The text was updated successfully, but these errors were encountered: