forked from formancehq/stack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
30 lines (30 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
fail_fast: true
exclude: ^sdks/|openapi/build|components/payments/client|components/auth/authclient|components/agent/helm|components/stargate/internal/api|components/operator/helm|devbox.lock
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
exclude: components/operator/internal/controllers/stack/testdata
- id: end-of-file-fixer
- id: check-yaml
exclude: services/orchestration/examples
args: [--allow-multiple-documents]
- id: check-added-large-files
- id: fix-byte-order-marker
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: detect-private-key
exclude: components/operator/garden|components/auth/cmd/serve.go
- repo: local
hooks:
- id: moon
name: moon
entry: moon run :lint :test :mod :helm :sync --affected --status=staged
language: system
description: "Runs `moon`"
require_serial: true
pass_filenames: false