Skip to content

Documentation: how to disable warnings and keep the codefix actions #47

Description

@fsateler

I have a relatively old and relatively large codebase. I have disabled the CSE0003 warning because of the large amount of occurrences, but I change them manually whenever I edit the vicinity of the code. It would be very handy if the Ctrl+. action item did not disappear when the warning is supressed.

The documentation did not hint that I could use a Ruleset file to lower the warning level into hidden. This prevents the display of warnings while keeping the codefix actions.

I tried this idea after reading the SonarLint FAQ, which pointed me to the ruleset file. I think a similar section should be added to the readme.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions