Add pre-commit with CI and issue templates

This commit is contained in:
Tulir Asokan
2022-05-20 23:46:15 +03:00
parent b8990c1898
commit bd03e80b52
7 changed files with 79 additions and 1 deletions

14
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,14 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
exclude_types: [markdown]
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/tekwizely/pre-commit-golang
rev: v1.0.0-beta.5
hooks:
- id: go-imports-repo