Skip to content

Commit

Permalink
Merge pull request #9 from fabricesemti80/precommit
Browse files Browse the repository at this point in the history
Precommit
  • Loading branch information
fabricesemti80 authored Nov 17, 2024
2 parents 8d26cc5 + 3c6a21c commit 4171837
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
repos:
- repo: local
hooks:
- id: kubeconform
name: Validate Kubernetes manifests
entry: task kubernetes:kubeconform
language: system
pass_filenames: false
types: [yaml]
files: ^kubernetes/.*\.(yaml|yml)$

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files

0 comments on commit 4171837

Please sign in to comment.