space-before-paren returning incorrect column
Opened this issue · 3 comments
ChildishGiant commented
This issue was found in #146 (comment) but I thought I'd file it separately. The following code should have the same column for each error but the first one always returns off by one.
func1()
func2()
func3()
Output:
1.6 error Expected space before paren space-before-paren
2.5 error Expected space before paren space-before-paren
3.5 error Expected space before paren space-before-paren
dar5hak commented
This is the code causing this:
Lines 91 to 93 in 2db0180
We are adding 1 to the column number if the error is on the first line (line_count == 0
). I don't know why.
ChildishGiant commented