`error eol-last Newline required at end of file but not found` syntax on Home.vue
See original GitHub issueJust init a bran new project with
$ vue init webpack vocabulary2
I just got this error eol-last Newline required at end of file but not found
syntax on Home.vue.
But the Newline is there. And I have no idea where ‘//’ come from.
My environment setup:
Issue Analytics
- State:
- Created 8 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Turn off eslint warning: Newline required at end of file but not ...
I fixed it by doing "eol-last": 0, "no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 0 }],. eol-last seems to take enums now so 0...
Read more >eol-last - ESLint - Pluggable JavaScript Linter
A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript. Maintain your code quality with ease.
Read more >vuejs/vue - Gitter
ERROR in ./src/main.js. ✘ http://eslint.org/docs/rules/eol-last Newline required at end of file but not found
Read more >Consistent JavaScript Code - Kiwee
We have ESLint installed in our project, but we need to configure it to ... error Newline required at end of file but...
Read more >Airbnb JavaScript Style Guide()
Note: this guide assumes you are using Babel, and requires that you use ... 3.1 Use the literal syntax for object creation. eslint:...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
Top Related Hashnode Post
No results found
Top GitHub Comments
@fionagithub
I was getting this error testin out nuxt as well
error Newline required at end of file but not found eol-last
inserting a blank line at the bottom of the xxx.vue file fixed the issue for me
quick fix with
?