build: Always exclude vendor and node_modules

Change-Id: Iabe54bad6c3e12c7276364b2af4cee26933eaac9
This commit is contained in:
Umherirrender 2017-11-12 00:39:13 +01:00 committed by Reedy
parent 5a7e92f542
commit 657dcd236e
2 changed files with 5 additions and 3 deletions

View file

@ -8,7 +8,8 @@ module.exports = function ( grunt ) {
eslint: {
all: [
'**/*.js',
'!node_modules/**'
'!node_modules/**',
'!vendor/**'
]
},
banana: {
@ -18,7 +19,8 @@ module.exports = function ( grunt ) {
all: [
'*.json',
'**/*.json',
'!node_modules/**'
'!node_modules/**',
'!vendor/**'
]
}
} );

View file

@ -12,7 +12,7 @@
"scripts": {
"fix": "phpcbf",
"test": [
"parallel-lint . --exclude vendor",
"parallel-lint . --exclude vendor --exclude node_modules",
"phpcs -p -s"
]
}