Added pre-commit
This commit is contained in:
parent
e275bfb41c
commit
b531e22011
22
.pre-commit-config.yaml
Normal file
22
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
args:
|
||||
- --allow-multiple-documents
|
||||
- id: check-added-large-files
|
||||
- id: check-merge-conflict
|
||||
|
||||
- repo: https://github.com/crate-ci/typos
|
||||
rev: v1.29.8
|
||||
hooks:
|
||||
- id: typos
|
||||
args: ["--force-exclude"]
|
||||
|
||||
- repo: git@huizinga.dev:Dreaded_X/cluster-crds.git
|
||||
rev: 8d20df4246389407e500c182e68034863e6aab09
|
||||
hooks:
|
||||
- id: kubeconform
|
10
.typos.toml
Normal file
10
.typos.toml
Normal file
|
@ -0,0 +1,10 @@
|
|||
[default]
|
||||
# Ignore
|
||||
extend-ignore-re = [
|
||||
"-{5}BEGIN PGP MESSAGE-{5}(?:$|[^-]{63,}-{5}END PGP MESSAGE-{5})",
|
||||
"-{5}BEGIN PGP PUBLIC KEY BLOCK-{5}(?:$|[^-]{63,}-{5}END PGP PUBLIC KEY BLOCK-{5})",
|
||||
]
|
||||
|
||||
[files]
|
||||
# Ignore generated files
|
||||
extend-exclude = ["gotk-components.yaml", "gotk-sync.yaml"]
|
Loading…
Reference in New Issue
Block a user