2020-08-21 01:11:24 +02:00
|
|
|
repos:
|
2020-08-23 19:27:56 +02:00
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: eslint
|
|
|
|
name: eslint
|
2020-09-11 05:13:16 +02:00
|
|
|
entry: scripts/lint.sh
|
2020-08-23 19:27:56 +02:00
|
|
|
language: system
|
|
|
|
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
|
|
|
|
types: [file]
|
2020-08-21 01:11:24 +02:00
|
|
|
- hooks:
|
|
|
|
- id: check-yaml
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: trailing-whitespace
|
|
|
|
repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v2.3.0
|
|
|
|
- hooks:
|
|
|
|
- id: go-fmt
|
|
|
|
- id: go-lint
|
|
|
|
- id: go-imports
|
|
|
|
- id: go-unit-tests
|
|
|
|
- id: go-build
|
|
|
|
- id: go-mod-tidy
|
|
|
|
repo: git://github.com/dnephin/pre-commit-golang
|
|
|
|
rev: master
|
|
|
|
- hooks:
|
|
|
|
- id: commitizen
|
2020-08-21 01:17:07 +02:00
|
|
|
stages: [commit-msg]
|
2020-08-21 01:11:24 +02:00
|
|
|
repo: https://github.com/commitizen-tools/commitizen
|
2020-08-21 01:17:07 +02:00
|
|
|
rev: master
|