blob: 98535dd941f095674c7b15e8afa8f80159198f43 (
plain) (
blame)
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
|
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
#- id: end-of-file-fixer
#- id: trailing-whitespace
#- id: check-added-large-files
- id: mixed-line-ending
- id: check-yaml
- id: check-case-conflict
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.13
hooks:
- id: insert-license
exclude: sha1\.(cpp|h)$
files: \.(cpp|h)$
args:
- --license-filepath
- .unreal-header # defaults to: LICENSE.txt
- --comment-style
- // # defaults to: #
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v13.0.1
hooks:
- id: clang-format
exclude: ^thirdparty/
|