Excluding files from jslint4java in eclipse

I am using jslint4java in eclipse. Unfortunately, I have some huge dictionary files that never change, but every time a workspace is created, dragging and dropping these files takes a lot of time.

Is it possible to exclude certain files from jslint4java and how can this be configured?

+6
source share
3 answers

In the version of the jslint4java Eclipse plugin that I have (1.0.1.201207042009), there is a field "Exclude files matching these templates from JSLint:" in jslint4java settings; I believe that this is exactly what you are looking for.

This is below the Make JSLint Laxer list on the right; if you have a long list of predefined global variables (like me), you may need to scroll to see it.

+2
source

When you enter an exception pattern as described above, you need to disable and enable jslint in the project again for it to take effect. Spend me an hour ...

0
source

Another note on file exclusion using this template. In my case, I wanted to exclude every file that ended in .min.js. Therefore, of course, I assumed that the template would be * .min.js.

WRONG!

Sample was only .min.js

-1
source

Source: https://habr.com/ru/post/921643/


All Articles