From 58808fa095cc348dd78980e5096286e6a1a45a9f Mon Sep 17 00:00:00 2001 From: Veeck Date: Wed, 17 Jul 2019 13:50:24 +0200 Subject: [PATCH] fix: disable linting for one specific line --- commitlint.config.js | 1 - src/inject/index.js | 2 +- src/tags/index.js | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/commitlint.config.js b/commitlint.config.js index d915319..7c8bb2b 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -2,4 +2,3 @@ module.exports = { extends: ['@commitlint/config-angular'] }; - diff --git a/src/inject/index.js b/src/inject/index.js index 5900d1d..904c251 100644 --- a/src/inject/index.js +++ b/src/inject/index.js @@ -84,7 +84,7 @@ function handleVinylStream(sources, opt) { if (target.isStream()) { return cb(error('Streams not supported for target templates!')); } - collected.then(function (collection) { + collected.then(function (collection) { // eslint-disable-line promise/prefer-await-to-then target.contents = getNewContent(target, collection, opt); this.push(target); cb(); diff --git a/src/tags/index.js b/src/tags/index.js index d046973..47899e5 100644 --- a/src/tags/index.js +++ b/src/tags/index.js @@ -1,4 +1,3 @@ - /** * Constants */