Page 1 of 1

How to tell Linter to ignore a line

Posted: Fri Oct 19, 2018 8:28 am
by rodneyt
I've setup Levure, LiveCode Community Server and Sublime text following the wiki instructions, all pretty straightforward and working well.

The scripts in my project contain quite a lot of short Javascript snippets, and even though these are correctly escaped and work fine in LC, the Linter is throwing exceptions on these.

Is there a way to tell the Linter to ignore a specific line?

~ Rodney

Re: How to tell Linter to ignore a line

Posted: Fri Oct 19, 2018 1:35 pm
by bogs
As far as I know there isn't, but I'm hardly an expert on Sublime and the linter your talking about. Hope someone that knows chimes in.

Re: How to tell Linter to ignore a line

Posted: Fri Oct 19, 2018 9:33 pm
by rodneyt
I sorted it out. The linter didn't like the formatting (even though Livecode was fine with executing it), changed it a little and all was well...

~ R

Re: How to tell Linter to ignore a line

Posted: Fri Oct 19, 2018 11:11 pm
by bogs
Thats good, I like happy endings :)

Re: How to tell Linter to ignore a line

Posted: Fri Oct 19, 2018 11:29 pm
by capellan
rodneyt wrote:
Fri Oct 19, 2018 9:33 pm
I sorted it out. The linter didn't like the formatting (even though Livecode was fine with executing it), changed it a little and all was well...

~ R
Hi Rodney,

Could you provide specifics details of the wrong formatting
and the changes that you did to make it work?

Thanks in advance!

Al