语言

Menu
Sites
Language
How to disable jslint

Somehow, Tizen IDE freezes when building my app when it's invoking jslint on the app - there are quite a few libraries (some a bit large), so I want to know is there a way to disable jslint when building wgt file?

响应

6 回复
Lakshmi Grandhi

Hi,

Select the project and right click->Preferences->Builders->JSLintBuilder disable this option.

 

Imgen Tata

Thanks, it worked.

David Waterman

Is there a way to disable this *just* for the libs - ie the 3rd party code? I'd still like to run jslint for my own code.

Alexander AVSukhov

Hello,

You need to exclude the libraries from JSLint.
This can be done using the following option in the IDE:
Windows -> Preferences -> Tizen SDK -> Web -> Editor -> JavaScript Editor -> JSLint Properties
and add the necessary patterns.

David Waterman

Hi Alexander,

Thanks for your reply. I was hoping for something that I could set *per project*, since each project is different. Is this possible with that option? I don't quite see how to add the whole of lib/ to that option either...it seems to target specific files.

BTW, I'm using Tizen IDE 2.2.0.

Max.

David Waterman

FYI, I was hoping these instructions would work, but they don't seem to have any effect at all :

<http://www.rockhoppertech.com/blog/eclipse-javascript-libraries-validation/>

Max.