Skip to content
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

Confusing mark for 'eol' options #48

Open
johnny-mh opened this issue Oct 10, 2016 · 1 comment
Open

Confusing mark for 'eol' options #48

johnny-mh opened this issue Oct 10, 2016 · 1 comment

Comments

@johnny-mh
Copy link

johnny-mh commented Oct 10, 2016

Hi

In default vim configuration, binary option is off.

Is that mean, append newline character automatically at end of file when saving current buffer.

So i ran eslint -c .eslintrc myfile.js there is no 'eol-last' errors.

But, validator plugin in vim warning no end of new line at file because no 'eol' character while editing file.

So i switch vim editing mode to not prepend newline when saving current buffer. (:set binary) but this seems to weird.

I think that is not problem.. but need some way to avoid this situation.

@timtyrrell
Copy link

Totally have this problem also

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants