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)