sbaudoin / sonar-shellcheck

SonarQube plugin to analyze Shell scripts with ShellCheck
Apache License 2.0
55 stars 10 forks source link

Disable plugin in sonar-project.properties #10

Closed zakabluk closed 5 years ago

zakabluk commented 5 years ago

I'm going to use shell plugin only for any projects, how I can disable plugin work without remove from SQ server?

dzmitry-rudnouski commented 5 years ago

Create new shellcheck quality profile, switch off all rules in it and assign to projects that doesn't require shell check. All other projects will use default shellcheck quality profile.

sbaudoin commented 5 years ago

@dzmitry-rudnouski thanks for the answer.

With the new feature #4 of 2.1.0 you can also disable shellcheck on a project basis (which is interesting only if most of your projects require shellcheck)

zakabluk commented 5 years ago

Create new shellcheck quality profile, switch off all rules in it and assign to projects that doesn't require shell check. All other projects will use default shellcheck quality profile.

For me this way doesn't work. Was helped only sonar.shellcheck.skip=true