pre-commit

This commit is contained in:
Sacha Ligthert 2025-01-20 23:29:30 +01:00
parent bd7c00b9eb
commit 1173d1c5c4
10 changed files with 17 additions and 26 deletions

View File

@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer

View File

@ -18,10 +18,6 @@ tasks:
cmds:
- terraform apply
destroy:
cmds:
- terraform destroy
fmt:
cmds:
- terraform fmt
@ -34,7 +30,3 @@ tasks:
cmds:
- pre-commit autoupdate
- pre-commit run --all-files
cleanup:
cmds:
- rm -rf .terraform* terraform.*

View File

@ -3,4 +3,3 @@ title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---