Use google_checks.xml within codestyle #6454
TimKnight-Opencast
started this conversation in
General
Replies: 1 comment
-
|
As a test I commented out |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Our Java codebase is using the
google-java-formatas it's opinionated formatting guide, I would like to therefore be able to use the inbuilt checkstylegoogle_checks.xmlhttps://checkstyle.sourceforge.io/google_style.html within checkstyle linter on megalinter but I can't see how to achieve thatI can add
JAVA_CHECKSTYLE_ARGUMENTS: "-c google_checks.xml"to my .mega-linter.yml but the console still prints out that it's using the sun_checks.xml rules config:Is there some way I can get megalinter to use the inbuilt google_checks.xml that I am missing, or is the rules config log message simply a red herring here?
We're using megalinter for all other checks, so I'd like to be certain in using it for checkstyle as well
Beta Was this translation helpful? Give feedback.
All reactions