You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
Using the linked sample I discovered that linter-jscs reports incorrect column position inside Atom. When I run jscs on provided sample.js file in console I get
which is correct, however inside Atom the issue is reported as
error and line are correct, but column within line is not - it's not 7.
The text was updated successfully, but these errors were encountered:
For some reason this package decides to ignore the column specified by the linter and make one up of their own here.
jscs itself has the correct column as you can see from the output here:
JSON.stringify(errors)
"[{"filename":"C:\\Users\\Landon\\Downloads\\sample\\sample.js","rule":"requireSpaceBeforeBinaryOperators","message":"Operator + should not stick to preceding expression","line":3,"column":35,"fixed":true}]"
@iam4x or @simonappelt do either of you know why this was done? I personally don't use this linter.
It looks like it was done like that so that the line with the error would be underlined with the dotted red. I think atom does a good job with the red dots to the left so I am going to fix the code such that that echos the proper column number.
Using the linked sample I discovered that



linter-jscs
reports incorrect column position inside Atom. When I runjscs
on providedsample.js
file in console I getwhich is correct, however inside Atom the issue is reported as
error and line are correct, but column within line is not - it's not 7.
The text was updated successfully, but these errors were encountered: