Open ericcornelissen opened 3 years ago
This would be great. We have to work around it in https://github.com/JoshuaKGoldberg/eslint-plugin-package-json right now, such as in https://github.com/JoshuaKGoldberg/eslint-plugin-package-json/pull/258. Accepting PRs!
Related: #38, for file:
.
I use the syntax of the title so that I can have two different major version of one project as a dependency (one
@1.x.x
and one2.x.x
), but this validator doesn't recognize this syntax and outputs an error instead. It would be cool if this syntax was supported, but given that it is quite uncommon (to the best of my knowledge) I don't think this should be a priority.The following
package.json
content can be used to reproduce this error.