build: add pre-commit hook

This commit is contained in:
Timothy Schenk 2023-10-12 08:56:54 +02:00
parent 2198d3992a
commit 659e75d2df

9
.pre-commit-config.yaml Normal file
View 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"]