From a65f20ea454b15e904257ce6ca9913e5d3a14edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Wed, 31 May 2017 21:04:40 +0100 Subject: [PATCH] style: line disable some eslint rules --- scripts/release | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/release b/scripts/release index 6c668e1b..64c6294b 100755 --- a/scripts/release +++ b/scripts/release @@ -152,6 +152,7 @@ const tasks = [ "--format=\"title:'%s' hash:'%h'\"" ]); + // eslint-disable-next-line no-unused-vars const [_, title, hash] = lastCommit.match( /title:'(.*?) hash:'(.*?)'/ ); @@ -246,7 +247,9 @@ const tasks = [ const meta = line.match(/(.*?)\s*?refs\/tags\/(.*?)@(.*)/); const hashname = line.match(/(.*?)\s*?refs\/tags\/(.*)/); + // eslint-disable-next-line no-unused-vars const [_, __, pkg, version] = meta || []; + // eslint-disable-next-line no-unused-vars const [___, hash, name] = hashname || []; return { @@ -465,6 +468,7 @@ const run = (tasks = [], ctx = {}, prefix = '') => return Object.assign({}, context, isPlainObject(nCtx) ? nCtx : {}); }, + // eslint-disable-next-line handle-callback-err ctx );