Update Gruntfile.js

Target all JS files, not just the ones in resources.

Change-Id: I036360365ebbd5e5654b5a74694e2656e63e56e6
This commit is contained in:
Paladox 2015-10-25 16:26:26 +00:00 committed by Prtksxna
parent 9fa09b6b2a
commit c8c37b8af4
2 changed files with 9 additions and 4 deletions

1
.jshintignore Normal file
View file

@ -0,0 +1 @@
node_modules

View file

@ -9,14 +9,18 @@ module.exports = function ( grunt ) {
banana: {
all: 'i18n/'
},
jscs: {
src: 'resources/*.js'
},
jshint: {
options: {
jshintrc: true
},
all: [ 'resources/*.js' ]
all: [
'*.js',
'**/*.js',
'!node_modules/**'
]
},
jscs: {
src: '<%= jshint.all %>'
},
jsonlint: {
all: [