Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Error: Cannot mark location in editor for (no-multiple-empty-lines) - (More than 2 blank lines not allowed.) #732

Closed
AddictArts opened this issue Oct 10, 2016 · 2 comments

Comments

@AddictArts
Copy link

AddictArts commented Oct 10, 2016

Lately updating aslant has been scary and failing to mark lines

Error: Cannot mark location in editor for (no-multiple-empty-lines) - (More than 2 blank lines not allowed.)
    at .atom/packages/linter-eslint/lib/main.js:227:21
    at Array.map (native)
    at .atom/packages/linter-eslint/lib/main.js:192:27
@AddictArts
Copy link
Author

Updating the local eslint fixed the issue. I just guessed and that fixed it. It would be better if it somehow could gracefully encourage the right version of eslint.

@Arcanemagus
Copy link
Member

That particular error was fixed in ESLint v3.5.0.

The message you saw is a generic message thrown whenever an invalid coordinate is given from ESLint, as that (should) indicate a problem in what ESLint is telling you, we aren't filtering it out. We also can't really make it tell you the "right version" as that is almost always the latest version, and we would have to start building up a database of known bugs in ESLint and when they were fixed.

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

No branches or pull requests

2 participants