forked from getsentry/sentry-cocoa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
47 lines (42 loc) · 1.16 KB
/
.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
42
43
44
45
46
47
## You can find more hooks here https://pre-commit.com/hooks.html
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: check-xml
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: no-commit-to-branch
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.3
hooks:
- id: check-github-actions
- id: check-github-workflows
args: [--verbose]
- repo: local
hooks:
- id: format-clang
name: Format ObjC, ObjC++, C, and C++
entry: make
language: system
types_or: ["objective-c", "objective-c++", "c", "c++"]
args:
- "format-clang"
- id: format-swift
name: Format Swift
entry: make
language: system
types_or: ["swift" ]
args:
- "format-swift"
- id: lint
name: Run Linters
entry: make
language: system
types_or: ["swift", "objective-c", "objective-c++", "c", "c++" ]
args:
- "lint"