This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Highlighting in the editor messing up with line numbers #13
Labels
Comments
I can confirm this behavior (Atom 0.200.0, Mac OS X, linter-tslint 0.2.1, built-in tslint). Any hints? |
I suspect substracting one line (or column) in |
+1 |
Yes, still the same at latest version. |
+1 |
Update: after clearing the "Tslint Executable Path" in the linter-tslint settings (making it use its packaged tslint), the line and columns are marked correctly. Atom 0.211, linter-tslint 0.2.2, OS X 10.10.3. |
TS language services fixed the way they report line and col numbers (I think in TS v1.4?) and that change propagated to tslint. So you no longer have to subtract 1 from the reported line and column position. I opened a PR with the fix. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using latest versions of Atom and packages.
Here a warning is produced:
But when you place a cursor on it, that's the message you get:
Which apparently is related to the next line in the editor (19).
Running tslint manually though shows the information properly:
So I guess it's a problem with either linter or linter-tslint. Would appreciate any help.
The text was updated successfully, but these errors were encountered: