build: Always exclude vendor and node_modules

Change-Id: Icc4f36c64da5836957289f4985f131b1dc09b1b3
This commit is contained in:
Umherirrender 2017-11-10 20:23:27 +01:00
parent 8a382bd27b
commit d973bb7a7b
3 changed files with 5 additions and 3 deletions

View file

@ -1 +1,2 @@
node_modules node_modules
vendor

View file

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

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 ."
] ]