forked from CrunchyData/pg_featureserv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
34 lines (32 loc) · 1.02 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
# CHECK for new hook to add (JS, etc.): https://pre-commit.com/hooks.html
exclude: ".venv|__pycache__|tests/dev/|tests/fixtures/"
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: check-added-large-files
args: ["--maxkb=500"]
- id: check-json
- id: check-xml
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-encoding-pragma
args: [--remove]
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/golangci/golangci-lint
rev: v1.49.0
hooks:
- id: golangci-lint
language: golang
types: [go]
# skip generated files:
args: [ "--skip-files", "internal/cql/cql_parser.go" ]
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.1.0
hooks:
- id: commitlint
stages: [commit-msg, manual]
additional_dependencies: ['@commitlint/config-conventional']