From 62212ac8ba4d375ba8a61558211f87cc0f5fb976 Mon Sep 17 00:00:00 2001 From: Toru Nagashima Date: Wed, 1 May 2019 16:55:07 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20a=20lint=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/util/check-publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/check-publish.js b/lib/util/check-publish.js index 004dde04..08727b21 100644 --- a/lib/util/check-publish.js +++ b/lib/util/check-publish.js @@ -29,7 +29,7 @@ module.exports = function checkForPublish(context, filePath, targets) { const allowed = new Set(getAllowModules(context)) const convertPath = getConvertPath(context) const basedir = path.dirname(packageInfo.filePath) - // eslint-disable-next-line func-style, require-jsdoc + // eslint-disable-next-line func-style const toRelative = fullPath => { const retv = path.relative(basedir, fullPath).replace(/\\/gu, "/") return convertPath(retv)