From c0828e60748ed20cfc2ea991b2654aebfa5dcd19 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Fri, 15 Mar 2024 17:02:36 +0100 Subject: [PATCH] feat: add dotnet format Signed-off-by: Matej Focko --- .pre-commit-hooks.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 6e58e97..39bc939 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -10,6 +10,18 @@ - c - c++ +# C# +- id: dotnet-format + name: dotnet format + description: Format .NET sources with ‹dotnet format›. + entry: dotnet-format + args: + - "--include" + language: dotnet + types_or: + - c# + - vb + # Rust - id: rust-fmt name: rustfmt