Open Nytelife26 opened 3 years ago
Prior to this, eslint-plugin-node would raise a no-unpublished-* if a file was not published, even if the package itself was set to private. This PR fixes that by making util/check-publish respect the private directive in package.json.
eslint-plugin-node
no-unpublished-*
util/check-publish
private
package.json
we are maintaining a fork in https://github.com/eslint-community/eslint-plugin-n. and it has been landed in https://github.com/eslint-community/eslint-plugin-n/commit/5ccd0c5a55d5e6dc61a82d81dd63ae317535fa97.
Prior to this,
eslint-plugin-node
would raise ano-unpublished-*
if a file was not published, even if the package itself was set to private. This PR fixes that by makingutil/check-publish
respect theprivate
directive inpackage.json
.