-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
google_checks.xml: remove xpath suppression and false-positive indentation violations for block codes #15769
Labels
Milestone
Comments
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Oct 12, 2024
…d updated documentation
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Oct 13, 2024
…d updated documentation
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Oct 13, 2024
…d updated documentation
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Oct 14, 2024
…d updated documentation
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Oct 15, 2024
…d updated documentation
rdiachenko
pushed a commit
that referenced
this issue
Oct 19, 2024
I am on it |
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Mar 10, 2025
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Mar 10, 2025
mohitsatr
added a commit
to mohitsatr/checkstyle
that referenced
this issue
Mar 24, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have read check documentation: https://checkstyle.org/checks/misc/indentation.html
I have downloaded the latest checkstyle from: https://checkstyle.org/cmdline.html#Download_and_Run
I have executed the cli and showed it below, as cli describes the problem better than 1,000 words
Detected at #14294
In google_checks.xml, Indentation module gives false-positive error for following type of blocks:
Example:
@romani suggested to use suppression to suppress these false-positives until we find a way to fix it at: #14294 (comment)
The suppression is:
Adding this suppression will suppress all indentation violations for above mentioned type of blocks whether they're correct or not but we need to use it till we find a fix.
As part of this issue, we need to find a way to fix this false-positive and remove the suppression.
The text was updated successfully, but these errors were encountered: