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


source to share





All Articles