Friday, 15 July 2011

javascript - Cannot use GLOB with JSHint in Windows? -


I am doing a POC as a manufacturing tool for NPM (). I'm new using NPM for now, I only have Jayshant and Mocha installed. My packagae.json is attached Now, when I run "NPM Run Lint" in the command line (Windows 7), I get an error:

  c: \ project> npm run list MyNPMProject@1.0.0 lint c: \ Project jshint test / *. Js  

Error: Can not open trial / *. JS

This works when I change the script "lint": "jshint test / test.js".

Can I use the globe with jshint?

Please advise in advance and thank you.

You do not need a globe, just give it a directory and it will scan all JS files in it < / P>


No comments:

Post a Comment