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
Description
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