Add clang-format to format C# files
This commit is contained in:
4
.clang-format
Normal file
4
.clang-format
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
BasedOnStyle: Google
|
||||||
|
---
|
||||||
|
Language: CSharp
|
||||||
|
ColumnLimit: 100
|
||||||
5
.pre-commit-config.yaml
Normal file
5
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/mirrors-clang-format
|
||||||
|
rev: v18.1.8
|
||||||
|
hooks:
|
||||||
|
- id: clang-format
|
||||||
Reference in New Issue
Block a user