We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de8e6ae commit b89ab42Copy full SHA for b89ab42
.pre-commit-config.yaml
@@ -0,0 +1,29 @@
1
+repos:
2
+ - repo: https://github.com/pre-commit/pre-commit-hooks
3
+ rev: v3.3.0
4
+ hooks:
5
+ - id: trailing-whitespace
6
+ exclude: README.md
7
+ - id: check-merge-conflict
8
+ - id: end-of-file-fixer
9
+ - id: check-added-large-files
10
+ - id: check-case-conflict
11
+ - id: check-json
12
+ - id: check-symlinks
13
+ - id: detect-private-key
14
+
15
+ - repo: https://github.com/adrienverge/yamllint.git
16
+ rev: v1.25.0
17
18
+ - id: yamllint
19
+ files: \.(yaml|yml)$
20
+ types: [file, yaml]
21
+ entry: yamllint --strict
22
23
+ - repo: https://github.com/dnephin/pre-commit-golang
24
+ rev: c17f835cf9
25
26
+ - id: go-fmt
27
+ - id: golangci-lint
28
+ - id: go-build
29
+ - id: go-mod-tidy
0 commit comments