Skip to content

When importing google-checks.xml, the API reports an error. How to solve this? Must I manually create rules based on the template first?  #526

Open
@JudeWangPP

Description

@JudeWangPP

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"
}
]
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions