Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporting the wrong line number #105

Open
alvarotrigo opened this issue Feb 25, 2015 · 2 comments
Open

Reporting the wrong line number #105

alvarotrigo opened this issue Feb 25, 2015 · 2 comments

Comments

@alvarotrigo
Copy link

After adding the 'use strict'; to avoid warning messages from jshitn, it's reporting the wrong line number for the error and highlighting a line which has nothing to do with the error.

For example:

Getting this error:

Column 52, use !== to compare with ''.

In this line:

 li += '<div class="fp-tooltip ' + options.navigationPosition + '">' + tooltip + '</div>';

Or

Column 34; Expected an asignment or function call and isntead saw an expression

In a comment line.

I'm using Sublime 3.

@victorporof
Copy link
Owner

Can you post a reduced test case? I can't reproduce this.

@camloken
Copy link

Strange, same issue 2 years later. I have tooltips turned on in Sublimelinter and it reports the incorrect line (1 line before). I'm using Material Theme, but that should not make a difference.

screen shot 2017-04-24 at 3 56 50 pm

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

No branches or pull requests

3 participants