From bca86c48d82cd62f0628d18b54ec78daae8048b0 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Fri, 10 Nov 2017 20:22:41 +0100 Subject: [PATCH] build: Always exclude vendor and node_modules Change-Id: Ibe9948f9505f36f34041b69be499cc0938735961 --- .jshintignore | 1 + Gruntfile.js | 3 ++- composer.json | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.jshintignore b/.jshintignore index 3c3629e..022b988 100644 --- a/.jshintignore +++ b/.jshintignore @@ -1 +1,2 @@ node_modules +vendor diff --git a/Gruntfile.js b/Gruntfile.js index 3bed33b..711e040 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -18,7 +18,8 @@ module.exports = function ( grunt ) { jsonlint: { all: [ '**/*.json', - '!node_modules/**' + '!node_modules/**', + '!vendor/**' ] } } ); diff --git a/composer.json b/composer.json index d0952f1..a88acac 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "minus-x fix ." ], "test": [ - "parallel-lint . --exclude vendor", + "parallel-lint . --exclude vendor --exclude node_modules", "phpcs -p -s", "minus-x check ." ]