The jshint command line exclude-path command does not work.

I created a custom .jshintignore with the following content:

**/*.min.js
**/wp-admin/**
**/wp-includes/**

      

I installed the --exclude-path

option:

jshint --exclude-path .customjshintignore ./*

      

However, jshint still checks all files, even those that should be ignored. I have updated to the latest jshint from npm (2.5.6).

What am I missing?

+3
javascript jshint


source to share


No one has answered this question yet

Check out similar questions:

2237
How do I pass command line arguments to a Node.js program?
1177
How to completely uninstall Node.js and reinstall from the beginning (Mac OS X)
559
Execute command line binary with Node.js
491
Sending command line arguments to npm script
255
Bundler does not include .min files
226
Is there a way to suppress the JSHint warning for one given line?
28
gulp-jshint: How does the build fail?
6
transition from ignoring JSHint
1
JSHint error "Object does not support this property or method" for closing javascript
1
Browser files are expected to fail jshint validation?



All Articles
Loading...
X
Show
Funny
Dev
Pics