Skip to content

algebratech/dotnet-sonar-pre-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotnet scanner for pre-commit! 🔥

Run dotnet-sonarscanner on pre-commit hooks.

Example .pre-commit-config.yaml

repos:
-   repo: https://github.com/algebratech/dotnet-sonar-pre-commit
    rev: v1.0.0
    hooks:
    -   id: dotnet-sonarscanner
        args: [
            '--sonar-project-key=projectKey',
            '--sonar-project-name=projectName',
            '--sonar-organization=organization'
        ]