-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Define severity for google style config by variable #15053
Labels
Milestone
Comments
this becomes an issue at #15028 (comment) |
romani
changed the title
Allow defining severity for google style config throught system variable
Define severity for google style config throught system variable
Jun 20, 2024
romani
changed the title
Define severity for google style config throught system variable
Define severity for google style config by system variable
Jun 20, 2024
@Zopsss , in PR please prove by CLI that it is working or better please make junit test , here is examples
and
|
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Jun 20, 2024
…ine-able by system variable
romani
pushed a commit
to Zopsss/checkstyle
that referenced
this issue
Jun 21, 2024
…ine-able by system variable
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Jun 21, 2024
…ine-able by system variable
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Jun 21, 2024
…ine-able by system variable
romani
changed the title
Define severity for google style config by system variable
Define severity for google style config by variable
Jun 21, 2024
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Jun 21, 2024
…ine-able by system variable
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Jun 22, 2024
…ine-able by system variable
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Jun 22, 2024
…ine-able by system variable
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Jun 22, 2024
…ine-able by system variable
Zopsss
added a commit
to Zopsss/checkstyle
that referenced
this issue
Jun 23, 2024
…ine-able by system variable
github-project-automation
bot
moved this from In Progress
to Done
in Refine Google Style Guide
Jun 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
checkstyle/src/main/resources/google_checks.xml
Line 24 in 4fe32fc
this severity was big question for many years some people like it was warn, some prefer error.
Expected:
for Windows:
java -D"org.checkstyle.google.severity=error" -jar checkstyle-10.XX.0-all.jar -c /google_checks.xml Test.java
new section above https://checkstyle.org/google_style.html#Google_Suppressions "Overrides" that mention what variable to use to get new severity.
If system properly is not working.
should use
-p propertiesFile - Sets the property files to load
. where it is just property.The text was updated successfully, but these errors were encountered: