Does anyone use "Deprecation" rule under "potential-bugs"? I just enabled it but it did not give me any new error. We have a lot of deprecated usages actually
g
gammax
01/08/2021, 5:21 PM
Are you using type resolution? That rules requires type resolution to run.
Wow. I didn't even know about this. This is really cool
Perhaps a feature request then. I can create this in GitHub later:
If a rule is enabled but skipped, print a warning
g
gammax
01/08/2021, 5:31 PM
Yeah that’s reasonable. Though it would create quite some noise 🤔
s
schalkms
01/08/2021, 6:48 PM
We had a thought about this, but as far as I can remember the decision was to not do it. When type resolution becomes stable, this problem should probably be less of an issue.