Closed darky closed 3 years ago
This tool is not like tsc
or eslint
, they just fail if one case fails, but this tool is progressive, you don't have to be --at-least 100
.
if some cases fail, maybe --at-least 99.99
can still make CI happy, you can still improve your code and the coverage number to 100 if you have time later.
I think splitting strict flag is too complex, they are doing same things, checking unsafe code.
v2.16.0
should support it.
Now for all cases exists only one
strict
flag. But very hard to satisfy all strictness at once. Would be good to splitstrict
flag to multiple likestrict-as
,strict-nested
,strict-optional
strict
flag preserve old behaviour, that all flags plug on.