SEBRAUC/.pre-commit-config.yaml
2021-12-18 00:39:08 +01:00

25 lines
578 B
YAML

repos:
- repo: https://github.com/tekwizely/pre-commit-golang
rev: v1.0.0-beta.4
hooks:
- id: golangci-lint-repo-mod
name: GolangCI Lint
- id: go-test-repo-mod
name: Backend tests
- repo: local
hooks:
- id: tsc
name: tsc
entry: tsc
language: node
files: \.tsx?$
args: ["-p", "./ui/tsconfig.json"]
additional_dependencies: ["typescript@4.5.2"]
pass_filenames: false
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.4.1
hooks:
- id: prettier