build: Always exclude vendor and node_modules

Change-Id: Ib91b665a571605dc55ef76525fa901b6ceb08878
This commit is contained in:
Umherirrender 2017-11-11 23:40:57 +01:00
parent af882e4b8b
commit 4ddd50daae
2 changed files with 3 additions and 2 deletions

View File

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

View File

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