Can you provide me with a google-check.xml configuration file corresponding to version 10.12.5?
Closed this issue · 6 comments
Sonar version: [[9.7]]
Checkstyle sonar plugin version: [[10.12.5]]
Steps to reproduce or description of problem:
config is in this repository - https://github.com/checkstyle/checkstyle/releases
https://github.com/checkstyle/checkstyle/releases/tag/checkstyle-10.12.5
https://github.com/checkstyle/checkstyle/tree/checkstyle-10.12.5
https://github.com/checkstyle/checkstyle/blob/checkstyle-10.12.5/src/main/resources/google_checks.xml
@romani Is there no way for sonar to use the embedded google config which comes with CS directly?
@muhlba91 , can you answer this question?
I didn't remember. There was import of config some time ago, but I might be wrong.
this was removed as part of adding the possibility to customize most checks through templates, and, if i remember it right, because SQ doesn't offer the export functionality anymore in the same way they did before (either way, a customized xml file would be didficult to import due to all possible templates).
@muhlba91 thanks.
@JudeWangPP You should always use the same version of google config as your current CS version. Using any other version could lead to compatibility issues.
Thank you all for perfectly resolving my issue.