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
Add: prefer-no-devDependencies #133
Add: prefer-no-devDependencies #133
Conversation
BTW alternative API for this could be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @simison - Thank you so much for adding this 🙌
@@ -197,8 +197,9 @@ Add the following to your `.npmpackagejsonlintrc.json` file. | |||
* [prefer-property-order](rules/package-json-properties/prefer-property-order.md) | |||
|
|||
|
|||
## Deprecated node rules | |||
## Disallowed node rules |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -0,0 +1,38 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for adding docs 🎉
I would love to add |
Description of change
prefer-no-devDependencies
ruleprefer-no-engineStrict
rule thereHappy to add also
prefer-no-dependencies
,prefer-no-optionalDependencies
andprefer-no-peerDependencies
if you see this is useful.Resolves #132 (see the issue for use case)
Checklist