Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Should be able to add inline comments to ignore line #7

Description

@shakedlokits

As of now, the only method to manage rules in sonar for the ruby plug-in is by macro managing the rules through the QualityProfile[1] system, lacking the ability to ignore specific lines using in-line comments similar to the Java plug-in.[2][3]
I believe it is a valuable feature to be able to micro-manage our rules.

[1] https://docs.sonarqube.org/display/SONAR/Quality+Profiles
[2] https://github.com/SonarSource/sonar-java/blob/cb1baeadb6f9beaab8a04a639a33b90944f73f19/java-frontend/src/main/java/org/sonar/java/ast/visitors/CommentLinesVisitor.java#L68
[3] https://github.com/SonarSource/sonar-java/blob/cb1baeadb6f9beaab8a04a639a33b90944f73f19/java-checks/src/main/java/org/sonar/java/checks/NoSonarCheck.java#L36

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions