From 657dcd236e8fc1719a75806f14d0d36172b06972 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sun, 12 Nov 2017 00:39:13 +0100 Subject: [PATCH] build: Always exclude vendor and node_modules Change-Id: Iabe54bad6c3e12c7276364b2af4cee26933eaac9 --- Gruntfile.js | 6 ++++-- composer.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 0883e38..737b719 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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/**' ] } } ); diff --git a/composer.json b/composer.json index b6d8a55..0a80d04 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "scripts": { "fix": "phpcbf", "test": [ - "parallel-lint . --exclude vendor", + "parallel-lint . --exclude vendor --exclude node_modules", "phpcs -p -s" ] }