You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following #42 -> #51: we've resolved to create a standalone valid-optionalDependencies rule. It should enforce that, if the field exists in the package.json file, it's set to a valid value. It should do nothing if the field doesn't exist.
Additional Info
Per discussion in #51, this won't be enabled by default at first. The valid-package-def rule already contains this logic using package-json-validator. For this issue, we should:
Bug Report Checklist
main
branch of the repository.Overview
Following #42 -> #51: we've resolved to create a standalone
valid-optionalDependencies
rule. It should enforce that, if the field exists in thepackage.json
file, it's set to a valid value. It should do nothing if the field doesn't exist.Additional Info
Per discussion in #51, this won't be enabled by default at first. The
valid-package-def
rule already contains this logic usingpackage-json-validator
. For this issue, we should:package-json-validator
package-json-validator
is released with this field's API, mark this issue as unblockedOnce all
valid-
rules exist in this plugin, we can then file an issue to deprecate thevalid-package-def
rule in favor of them.💖
The text was updated successfully, but these errors were encountered: