Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

"scalastyle:ignore" not working with a rule ID #252

Open
@gaelrenoux-datadome

Description

@gaelrenoux-datadome

I have some code like:

class unused extends scala.annotation.StaticAnnotation // scalastyle:ignore class.name

When running scalastyle locally, it rightly ignores the broken rule on the object name. In Sonar however, it appears as a code smell. It works in Sonar if I remove the rule ID:

class unused extends scala.annotation.StaticAnnotation // scalastyle:ignore

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