mysticatea / eslint-plugin-node

Additional ESLint's rules for Node.js
MIT License
958 stars 167 forks source link

fix: support package.json private directive #272

Open Nytelife26 opened 3 years ago

Nytelife26 commented 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.

aladdin-add commented 6 months ago

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.