-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
28 lines (25 loc) · 722 Bytes
/
.pre-commit-config.yaml
File metadata and controls
28 lines (25 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
exclude: '(?i)(?:^|[\/])external(?:[\/]|$)'
ci:
skip: [ dotnet-format ]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: check-xml
- id: detect-private-key
- id: fix-byte-order-marker
- repo: local
hooks:
#Use dotnet format already installed on your machine
- id: dotnet-format
name: dotnet-format
language: system
entry: dotnet format --severity info --include
types_or: [ "c#", "vb" ]