We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64946c0 commit 9a54f41Copy full SHA for 9a54f41
.pre-commit-config.yaml
@@ -0,0 +1,26 @@
1
+default_stages: [commit]
2
+repos:
3
+ - repo: git://github.com/dnephin/pre-commit-golang
4
+ rev: v0.3.5
5
+ hooks:
6
+ - id: go-fmt
7
+ - id: go-imports
8
+ - id: golangci-lint
9
+ - repo: https://github.com/Woile/commitizen
10
+ rev: v2.17.4
11
12
+ - id: commitizen
13
+ # don't forget to run pre-commit install --hook-type commit-msg for this hook to run
14
+ stages: [commit-msg]
15
+
16
+ - repo: https://github.com/pre-commit/mirrors-prettier # to format JSON, YAML and markdown files among others
17
+ rev: v2.2.1
18
19
+ - id: prettier
20
21
+ - repo: https://github.com/gitguardian/gg-shield
22
+ rev: v1.4.0
23
24
+ - id: ggshield
25
+ language_version: python3
26
+ stages: [commit]
0 commit comments