You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce or description of problem:
Quality Profiles -> create -> choose:google_checks10.12.5.xml -> create
/api/qualityprofiles/create response :
{
"errors": [
{
"msg": "Rule template can't be activated on a Quality profile: checkstyle:com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportChecktemplate"
}
]
}
The text was updated successfully, but these errors were encountered:
JudeWangPP
changed the title
When importing google-checks.xml, the API reports an error: { "errors": [ { "msg": "Rule template can't be activated on a Quality profile: checkstyle:com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportChecktemplate" } ] } How to solve this? Must I manually create rules based on the template first?
When importing google-checks.xml, the API reports an error. How to solve this? Must I manually create rules based on the template first?
Jun 19, 2024
you need to create a profile/config in SQ where you basically replicate the contents of the xml-file directly in SQ.
there's no support for importing an existing configuration (see #525).
Sonar version: [9.7]
Checkstyle sonar plugin version: [10.12.5]
Steps to reproduce or description of problem:
Quality Profiles -> create -> choose:google_checks10.12.5.xml -> create
/api/qualityprofiles/create response :
{
"errors": [
{
"msg": "Rule template can't be activated on a Quality profile: checkstyle:com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportChecktemplate"
}
]
}
The text was updated successfully, but these errors were encountered: