jsr
jsr copied to clipboard
Feature Request: Prevent score regression on publishing
Thanks for building jsr, I loved the score feature.
I wonder if the CLI could prevent score regressions, or prevent publishing if certain requirements are not met.
For instance, I have a published package where all symbols have documentation and all entry points have documentation. I would like it to continue to have the docs for all symbols, but I can see myself forgetting to add them.
So, I'm proposing the CLI add a mechanism to either prevent score decrease or a --require-docs-percentage 100 parameter. This would work similarly to test coverage tools.
Related: https://github.com/jsr-io/jsr/issues/199