forked from keybase/client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
35 lines (35 loc) · 1014 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
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',
'--resolve-plugins-relative-to shared'
]
- 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: 314766a2c26b7f32641addbdb0e7e451320ff1f0
hooks:
- id: go-fmt
- id: go-vet
- id: go-lint