From 12b355b7331d913736ea6c459714444af81d85f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 18 May 2016 10:59:28 +0200 Subject: [PATCH] Add vendor to ignore for linters Change-Id: Icfdc8f23485eee63e7aa33ed4405f8bcb51a0d9d --- .jshintignore | 1 + Gruntfile.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.jshintignore b/.jshintignore index 4c02d63b..a1bbf645 100644 --- a/.jshintignore +++ b/.jshintignore @@ -2,3 +2,4 @@ lib/* # Generated file that contains JSON. Would fail "Strings must use singlequote." resources/js/ext.uls.webfonts.repository.js +vendor/* diff --git a/Gruntfile.js b/Gruntfile.js index 7c1d0e47..c8e57c6a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -16,6 +16,7 @@ module.exports = function ( grunt ) { '**/*.js', '!lib/**', '!node_modules/**', + '!vendor/**', '!resources/js/ext.uls.webfonts.repository.js' ] }, @@ -25,7 +26,8 @@ module.exports = function ( grunt ) { jsonlint: { all: [ '**/*.json', - '!node_modules/**' + '!node_modules/**', + '!vendor/**' ] }, banana: {