javascript - JSLint - ignoring folder when building in Visual Studio 2015 -
i want implement javascript
code , style checking jslint
. installed jslint.net visual studio
.
now want exclude javascript files included external libraries datatables
, jquery
, .. own minified files need excluded.
my project configurations added in jslintnet.json
file:
{ "version": "2.2.0", "output": "error", "ignore": [ "\\scripts\\angular-datatables\\plugins\\tabletools\\", "\\scripts\\angular-datatables\\plugins\\fixedcolumns\\angular-datatables.fixedcolumns.js", "\\scripts\\angular-datatables\\plugins\\fixedcolumns\\angular-datatables.fixedcolumns.min.js" ], "options": {}, "globalvariables": [], "runonbuild": true }
whatever path provide here, folder or file. code analysis still keeps running. important can ignore files/ folder jslint practical.
how can solve ignoring of folders , files, perhaps extensions.
i have had problem , not whether right answer: however, works me. seems jslint.net parses configuration file on startup; if edit jslintnet.json, quit visualstudio , restart it.
i'm using visual studio 2013, version 12.0.40629.00 jslint.net 2.2.0
hope helps.
Comments
Post a Comment