forked from keybase/client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
34 lines (34 loc) · 962 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
repos:
- repo: local
hooks:
- id: rn-story-mode
name: rn-story-mode
entry: shared/ios/Keybase/git-hook
language: script
files: shared/ios/Keybase/Storybook.m
- id: eslint
name: eslint
entry: shared/node_modules/.bin/eslint
language: node
files: \.(js|ts|tsx)$
args: [
'--quiet'
]
- id: tsc
name: tsc
entry: node
args: ['--max-old-space-size=4096', 'shared/node_modules/.bin/tsc', '-p', 'shared/tsconfig.json']
language: node
files: \.(ts|tsx)$
pass_filenames: false
- id: prettier
name: prettier
entry: shared/node_modules/.bin/prettier --write
language: node
files: \.(js|ts|tsx)$
- repo: https://github.com/keybase/pre-commit-golang.git
rev: b8194ff9d85455a702480677ada13ac4dbe94146
hooks:
- id: go-fmt
- id: go-vet
- id: go-lint