-
-
Notifications
You must be signed in to change notification settings - Fork 757
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
Detect type resolving rules run without type resolution classpath set #3577
Comments
We're basically already doing it, no? |
What I was looking for |
This issue is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days. |
I'm unsure about this. We might have users that are fine having rules enabled only on I'm also wondering what was the original use case of this feature request. |
I think that here we have two different issues:
So, to me we could close this issue for now. What do you think @chao2zhang? |
This issue is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days. |
Following up here: we could add a warning when we do the if bindingContext is empty check that instead of just returning it's printing something like "Rule xyz was skipped because Type Resolution is not available". |
This issue is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days. |
I agree with cortinico. Maybe we could create an iniline function that would make that. Check, print the warning and stop the rule (as it does now) |
Yes please 😄 My detekt runs just got very noisy with 1.22.0-RC1. I have one config file that contains all the enabled rules for my project, but I sometimes run detekt without type resolution. |
Could you open this as a new issue? You can link there this issue to haver better context. |
This is raised from #3537 (comment).
The text was updated successfully, but these errors were encountered: