diff --git a/.kcignore b/.kcignore new file mode 100644 index 0000000..674502c --- /dev/null +++ b/.kcignore @@ -0,0 +1 @@ +.sops.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..172a508 --- /dev/null +++ b/.pre-commit-config.yaml @@ -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 diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 0000000..1fc80e0 --- /dev/null +++ b/.typos.toml @@ -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"]