forked from autowarefoundation/AWSIM-Labs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
41 lines (38 loc) · 911 Bytes
/
.pre-commit-config.yaml
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
29
30
31
32
33
34
35
36
37
38
39
40
41
ci:
autofix_commit_msg: "style(pre-commit): autofix"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: end-of-file-fixer
- id: mixed-line-ending
args: [ --fix=lf ]
- id: trailing-whitespace
args: [ --markdown-linebreak-ext=md ]
- id: check-yaml
args: [--unsafe]
- repo: local
hooks:
- id: dotnet-format
name: dotnet-format
language: system
entry: dotnet format whitespace
args:
- --folder
- --include
types_or: [ "c#", "vb" ]
# https://github.com/Unity-Technologies/Unity-Robotics-Hub/blob/main/.pre-commit-config.yaml
exclude: >
(?x)^(
.*.css|
.*.meta|
.*.mat|
.*.preset|
.*.lighting|
.*.dae|
.*.unity|
.*.asset|
.*.prefab|
.*.controller
)$