Ignore files JSHint


#1

Hello,
I am trying to integrate jshint per link below
https://www.airpair.com/ionic-framework/posts/production-ready-apps-with-ionic-framework#lint-your-javascript

I created a .jshintignore file in root folder and added some files to ignore with the following path
www/js/xxx.js

But its not ignoring the files when i try to build the project from mac terminal (ionic build android)
Is there any config i need to set from the Ionic side ?

Thanks !


#2

Do you wish to exclude a single javascript file named xxx.js? Or are those 3 'x’s wildcards?

The following is a wildcard path to all .js files in www/js and it’s subfolders:

www/js/**/*.js

Oliver