Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rule node/no-unpublished-import should not be enabled for private packages #77

Open
josokinas opened this issue Apr 9, 2017 · 8 comments

Comments

@josokinas
Copy link

josokinas commented Apr 9, 2017

If package.json file has "private" set to true, it will restrict the package from being published to the registry. Therefor having node/no-unpublished-import rule enabled does not make sense.

@ClementParis016
Copy link

I agree, and the same observation applies to node/no-unpublished-require.
Happy to make a PR if this should be addressed ;)

@pranshu-07
Copy link

Is this still in discussion ?

@mysticatea
Copy link
Owner

At least, I'm using those rules for private packages as well.

@edg2s
Copy link

edg2s commented May 24, 2020

Could be an option instead?

@constgen
Copy link

constgen commented Feb 8, 2021

It is so obvious to me that I can't wait when this will be done. @mysticatea can you show examples of mistakes that you want to prevent with this rule in a private package?

@uhrohraggy
Copy link

Can we merge this in yet? Has been 5 years since this was opened?

@angelayanpan
Copy link

can this issue be closed now?

@voxpelli
Copy link

It has been merged into the maintained for, eslint-plugin-n: eslint-community#57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants