generated from pulumi/pulumi-tf-provider-boilerplate
-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
.pre-commit-config.yaml
41 lines (41 loc) · 1021 Bytes
/
.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
37
38
39
40
41
---
repos:
- repo: https://github.com/talos-systems/conform
rev: v0.1.0-alpha.27
hooks:
- id: conform
stages:
- commit-msg
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-json
exclude: .eslintrc.json|node_modules/*
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: check-yaml
- id: detect-aws-credentials
args: [
"--allow-missing-credentials"
]
- id: detect-private-key
exclude: node_modules/*
# - id: no-commit-to-branch
# args: [
# "--branch",
# "main",
# "--branch",
# "next"
# ]
- repo: https://github.com/gitleaks/gitleaks
rev: v8.16.3
hooks:
- id: gitleaks
- repo: https://github.com/golangci/golangci-lint
rev: v1.52.2
hooks:
- id: golangci-lint