Compare commits
2 Commits
0f0f07b1d0
...
01beaf0536
| Author | SHA1 | Date | |
|---|---|---|---|
| 01beaf0536 | |||
| 425e8760af |
@@ -6,3 +6,4 @@ terraform.tfstate.backup
|
|||||||
!.gitignore
|
!.gitignore
|
||||||
!.editorconfig
|
!.editorconfig
|
||||||
!.vscode
|
!.vscode
|
||||||
|
!.pre-commit-config.yaml
|
||||||
|
|||||||
@@ -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
|
||||||
Vendored
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"EditorConfig.EditorConfig",
|
"EditorConfig.EditorConfig",
|
||||||
"opentofu.vscode-opentofu"
|
"opentofu.vscode-opentofu",
|
||||||
|
"skellock.just"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user