-
Notifications
You must be signed in to change notification settings - Fork 39
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
false positive finding for WRONG_WHITESPACE on gradle plugins block #1313
Comments
That looks like a bug actually, @WebTiger89 you can exclude
|
Also this issue affects comments. Very critical, should be fixed asap
|
Thank you very much. I have found a lot of false positives. I will open new issues for them now. I hope this won't be too annoying ^^ |
That would be extremely useful! You cannot even imagine, how we appreciate that. |
Here is another example:
It is the second line.
|
Hey @WebTiger89, actually this finding is not a false positive. |
Thanks for the details. What about the second example? |
Yes, the second example is a bug in diktat. I think we usually expect opening braces to be on the same line as the previous code and therefore don't properly handle cases when a line starting with white spaces and an opening braces is indeed valid. |
The warning states:
for code in settings.gradle.kts:
Maybe the rule can be adjusted/improved here.
The text was updated successfully, but these errors were encountered: