forked from keybase/client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
30 lines (30 loc) · 921 Bytes
/
.pre-commit-config.yaml
File metadata and controls
30 lines (30 loc) · 921 Bytes
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
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: 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: 616cc0b14a680b0eb5132b26a1c6fa87682bd048
hooks:
- id: go-fmt
- id: go-vet
files: 'go/.*\.go$'
exclude: 'go/buildtools/.*$'
- id: go-vet
name: 'go vet tuxbot'
files: 'packaging/linux/tuxbot/bot/docker-cleanup/.*\.go$'
- id: go-lint