Skip to content

Commit

Permalink
feat: added readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xerdink authored Feb 15, 2021
1 parent 65a5e60 commit e99ef84
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# dotnet scanner for pre-commit! :fire:

Run **dotnet-sonarscanner** on [pre-commit](https://pre-commit.com) hooks.

### Example .pre-commit-config.yaml

```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'
]
```

0 comments on commit e99ef84

Please sign in to comment.