Compare commits

...

2 Commits

Author SHA1 Message Date
JamesAllenby 01beaf0536 style: format extensions.json 2026-06-23 20:24:53 +01:00
JamesAllenby 425e8760af chore: add pre-commit config 2026-06-23 20:20:35 +01:00
3 changed files with 22 additions and 4 deletions
+1
View File
@@ -6,3 +6,4 @@ terraform.tfstate.backup
!.gitignore
!.editorconfig
!.vscode
!.pre-commit-config.yaml
+16
View File
@@ -0,0 +1,16 @@
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
args:
- --autofix
- id: trailing-whitespace
- repo: https://github.com/tofuutils/pre-commit-opentofu
rev: v2.4.2
hooks:
- id: tofu_validate
- id: tofu_fmt
+2 -1
View File
@@ -1,6 +1,7 @@
{
"recommendations": [
"EditorConfig.EditorConfig",
"opentofu.vscode-opentofu"
"opentofu.vscode-opentofu",
"skellock.just"
]
}