build: Always exclude vendor and node_modules

Change-Id: Iabe54bad6c3e12c7276364b2af4cee26933eaac9
This commit is contained in:
Umherirrender 2017-11-12 00:39:13 +01:00
parent 79dcc0b224
commit 53e19f4085
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

@ -16,7 +16,7 @@
"minus-x fix ."
],
"test": [
"parallel-lint . --exclude vendor",
"parallel-lint . --exclude vendor --exclude node_modules",
"phpcs -p -s",
"minus-x check ."
]