bluwy / publint

Lint packaging errors
https://publint.dev
MIT License
932 stars 19 forks source link

[NEW RULE] Check "repository.url" value #97

Open kravetsone opened 1 month ago

kravetsone commented 1 month ago

Please add rule which check repository.url

npm warn publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "repository.url" was normalized to "git+https://github.com/kravetsone/esbuild-plugin-autoload.git"

Also i wrote the publint extenstion for VS Code

bluwy commented 1 month ago

Sounds good to me. I'm not sure if there's many validations for package.json, but if there's only a few like this, it seems fine to me. As the current rules are focused on runtime compatibility only.

Also i wrote the publint extenstion for VS Code

Amazing, thanks for creating it. Going to give it a spin.