mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
Update Gruntfile.js
Target all JS files, not just the ones in resources. Change-Id: I036360365ebbd5e5654b5a74694e2656e63e56e6
This commit is contained in:
parent
9fa09b6b2a
commit
c8c37b8af4
1
.jshintignore
Normal file
1
.jshintignore
Normal file
|
@ -0,0 +1 @@
|
|||
node_modules
|
12
Gruntfile.js
12
Gruntfile.js
|
@ -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: [
|
||||
|
|
Loading…
Reference in a new issue