chore: add pre-commit config
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
- id: check-json
|
||||
- id: check-yaml
|
||||
- id: end-of-file-fixer
|
||||
- id: pretty-format-json
|
||||
- id: trailing-whitespace
|
||||
- repo: https://github.com/tofuutils/pre-commit-opentofu
|
||||
rev: v2.4.2
|
||||
hooks:
|
||||
- id: tofu_validate
|
||||
- id: tofu_fmt
|
||||
Reference in New Issue
Block a user