-
Notifications
You must be signed in to change notification settings - Fork 322
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
Unexpected ESLint error "Newline required at end of file but not found." #198
Comments
This seems like a bug.
|
Thanks for the response, @JSlain! Any ideas how we can fix it? Also, in the first message I said "nearly every file", but I checked them again, and found that ESLint was disabled for the files without the error. So actually the problem exists in every file. Maybe it somehow relates to the fact that we use Windows for development? |
It's not Windows related.
with:
I'll make a pull request when i have time |
Until @JSlain 's PR is integrated (has Plato found a maintainer?) I'm working around it by using his other workaround for how Plato loads the configs Really hope someone with some time picks up this project. JSlain have you found a good replacement for this sort of analysis? |
Not really. we run our analysis tools in Jenkins, and uses checkstyle reporter to show eslint results. |
cherry-pick and squash of es-analysis#200 by @JSlain - Fix Issue es-analysis#198 - Fix test
Hi!
I run the plato with this command:
In the
.eslintrc
I have this rule:And ESLInt passes on all files in the codebase when I run it manually. But nearly every file in the plato report is marked with the "Newline required at end of file but not found." error:
And here is a screenshot of the same file from IDE:
How exactly does Plato run ESLint? How is it possible that results are diffrent from the manual running for the same config?
Thanks in advance!
The text was updated successfully, but these errors were encountered: