Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split strict flag to particular #62

Closed
darky opened this issue Sep 3, 2020 · 2 comments
Closed

Split strict flag to particular #62

darky opened this issue Sep 3, 2020 · 2 comments
Labels
enhancement New feature or request fixed and released

Comments

@darky
Copy link
Contributor

darky commented Sep 3, 2020

Now for all cases exists only one strict flag. But very hard to satisfy all strictness at once.
Would be good to split strict flag to multiple like strict-as, strict-nested, strict-optional
strict flag preserve old behaviour, that all flags plug on.

@plantain-00
Copy link
Owner

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.

@plantain-00
Copy link
Owner

v2.16.0 should support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed and released
Projects
None yet
Development

No branches or pull requests

2 participants