build: add pre-commit hook
This commit is contained in:
parent
2198d3992a
commit
659e75d2df
1 changed files with 9 additions and 0 deletions
9
.pre-commit-config.yaml
Normal file
9
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
#Use dotnet format already installed on your machine
|
||||
- id: dotnet-format
|
||||
name: dotnet-format
|
||||
language: system
|
||||
entry: dotnet format --include
|
||||
types_or: ["c#", "vb"]
|
Loading…
Reference in a new issue