-
Notifications
You must be signed in to change notification settings - Fork 4
/
.pre-commit-config.yaml
45 lines (42 loc) · 1.03 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: local
hooks:
- id: lint
name: lint
entry: bin/project lint
language: script
types: [text]
pass_filenames: false
always_run: true
verbose: true
files: ''
- id: vet
name: vet
entry: go vet ./...
language: script
types: [text]
pass_filenames: false
always_run: true
verbose: true
files: ''
- id: sync-deps
name: sync dependencies
entry: bin/project backend.sync-deps
language: script
types: [text]
pass_filenames: false
always_run: true
verbose: true
files: ''
# don't want this at all.
# - id: gen
# name: gen
# entry: bin/project gen
# language: script
# types: [text]
# pass_filenames: false
# always_run: true
# verbose: true
# files: ''