From 659e75d2dfa8cf380ce301ccf237e96f57b9b87e Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Thu, 12 Oct 2023 08:56:54 +0200 Subject: [PATCH] build: add pre-commit hook --- .pre-commit-config.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..57b7d26 --- /dev/null +++ b/.pre-commit-config.yaml @@ -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"]