boxuk / jslint-jenkins-plugin

Runs JSLint on a project and outputs in the Checkstyle format.
13 stars 15 forks source link

Configuration will not take affect #11

Open petershaw opened 10 years ago

petershaw commented 10 years ago

Hi,

i'm trying to get some Condifuration working, but none of it will work and affect jslint.

I tried:

-Dnode=true -Dpredef=require 

as command in the project panel. I also tried to set a .jslintrc file in the jenkins home folder AND in the project workspace. I also put a Header into the file: /jslint node: true, predef: require /, but none of these will take any affekt, I still got:

require' is not defined.  

Any help, how i can check node sources without this false positives? Thanks a lot, ps

gavD commented 10 years ago

Hi,

I'm no longer the maintainer on this product but I think there's a box on the plugin configuration, either at job of Jenkins config level, that allows you to enter your JSLint options. It's a long time since I touched it though so apologies if that's not the case!