-
Notifications
You must be signed in to change notification settings - Fork 1
/
.pre-commit-config.yaml
36 lines (34 loc) · 1.1 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
repos:
# Websec hook is MANDATORY, DO NOT comment it.
- repo: https://github.com/mercadolibre/fury_websec-git-hooks
rev: v1.0.5
hooks:
- id: pre_commit_hook
stages: [commit]
- id: post_commit_hook
stages: [post-commit]
# Next hooks are Code Quality hooks.
# If you want them to run on each commit, uncomment them
# These are OPTIONAL.
# - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
# rev: v2.3.0
# hooks:
# - id: pretty-format-golang
# args:
# - --autofix
# - repo: https://github.com/golangci/golangci-lint
# rev: v1.44.2
# hooks:
# - id: golangci-lint
# entry: golangci-lint run
# args:
# - --max-issues-per-linter=0
# - --max-same-issues=0
# - --config=.code_quality/.golangci.yml
# - --new-from-rev=HEAD~1 # comment this arg if you want to run pre-commit run --all-files
- repo: https://github.com/mercadolibre/fury_datasec-git-hooks
rev: 1.0.1
hooks:
- id: pre_commit_hook
stages: [commit]
verbose: true