plantain-00/type-coverage

Only update if type coverage is higher

Closed this issue · 2 comments

Hi there,
I noticed that in any case, using the type-coverage command with --update or with update: true would update the type-coverage atLeast prop.

Since I'm using this package with husky, I'd like to avoid updating it everytime, and I'd like to only update it when the command succeeds. The only solution I found right now is to run it twice: once with update, the second time without.

Is there a way to only update the type coverage when it is higher than the previous floor set?

v2.20.0 supports --update-if-higher now.

Daaaaamn, that was insanely quick, thanks a lot!