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