-
Notifications
You must be signed in to change notification settings - Fork 141
Column start greater than Error #689
Comments
I ran the following command:
and got the following output:
Might be something in my |
Looking into this, btw for future reference: You can attach zip files directly in GitHub now 😉. |
So interestingly you should be getting a You can work around that by adding |
After turning that rule off so it will even run, I'm not able to reproduce the error you are seeing with the files you provided 😕. Can you try turning that rule off as described above and then trying to reproduce this locally again? |
@vadim since you 👍 this issue, can you file a new issue, with the same set of files @baldwmic provided (eg. |
@Arcanemagus i've tried adding Strangely enough, I don't see a |
Hmmm, are you seeing it on the file in your project, or in an isolated folder containing just the 3 files you linked? If you add |
@baldwmic are you getting any linting errors? Meaning, not the big red boxes, but an actual eslint rule error? |
@IanVS I'm experiencing this issue constantly while writing code - it's generating eslint errors because the code isn't fully completed when I stop typing. The most frequent error is "missing semicolon" because as I said, I haven't finished the line yet. The other error would be missing import because I haven't actually imported the file for the new code yet. This just started happening about 2 days ago, and it's incredibly annoying so let me know what you need to help repro. |
What is the error you are getting two lines above the semi? |
@digitalcatnip When you see that message can you immediately save the file, then save it again to see if it triggers the error again? If so can you file a new issue, as generally each of these invalid range errors are unique. |
@digitalcatnip in your new issue, can you provide the file which is causing the error? As small of a file as possible, if you could. |
New StepsI've taken a few steps to help suss out whether this is an issue specific to my project or to Isolated Dependencies
ErrorWhile editing the single JavaScript file in Atom, here is what I encounter: Notes
Reproduce
|
The error showing in your latest GIF there is a duplicate of #687. Your original image though shows |
@Arcanemagus ahh i shouldn't have assumed the column and line length numbers were irrelevant to the issue 😞 So there might be two different bugs at play? |
Yes, it seems that If you can run your original file with the eslint cli and let us know what errors you get (copy the output from eslint), that would be very helpful. |
Yep, just like @digitalcatnip's is quite possibly a different one as well 😛. I'm not sure how, but it seems the upgrade to |
To provide a bit more context: This linter uses the |
When I run
with the same I tried removing the |
@baldwmic and yet when you open You're not using the global eslint in your |
I was getting errors due to this: eslint/eslint#7088, eslint/eslint#7086. |
error is still happening even after updating to [email protected]: #687 reverting to [email protected] doesn't produce this bug |
Here's a PR to expose underlying errors: #694 |
@lmj0011, the only thing fixed in eslint @dmueller39, great idea, I'll review and merge ASAP. |
Has this been resolved? I have the linter-eslint 7.3.0 package installed and I get this error as well. |
v7.3.1 is released which should show the offending error in the message shown to you. As the bug causing the originally reported issue has been fixed in Thanks everyone for taking the time to help track this down and report it! |
Error
Column start greater than line length
Similar Issues
I've searched for similar issues here and here but can't seem to figure this out.
Reproduce
The text was updated successfully, but these errors were encountered: