diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 79b46590..4d9ca28b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: - id: pretty-format-json types: [file] # override `types: [json]` files: \.(json|json\.tpl)$ - args: [--autofix] + args: [--autofix, --indent=4] # pre-commit hook to verify commit messages are conventional commit compliant # NOTE: not using the latest version of commitizen, because it doesn't verify diff --git a/.vscode/launch.json b/.vscode/launch.json index 9f07c451..9c3029a2 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,33 +1,27 @@ { - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", "configurations": [ { - "name": "Acceptance Tests", - "type": "go", - "request": "launch", - "mode": "test", - // this assumes your workspace is the root of the repo - "program": "${fileDirname}", + "args": [], "env": { - "TF_ACC": "1", + "TF_ACC": "1" }, - "args": [], + "mode": "test", + "name": "Acceptance Tests", + "program": "${fileDirname}", + "request": "launch", + "type": "go" }, { - "name": "Debug - Attach External CLI", - "type": "go", - "request": "launch", - "mode": "debug", - // this assumes your workspace is the root of the repo - "program": "${workspaceFolder}", - "env": {}, "args": [ - // pass the debug flag for reattaching - "-debug", + "-debug" ], + "env": {}, + "mode": "debug", + "name": "Debug - Attach External CLI", + "program": "${workspaceFolder}", + "request": "launch", + "type": "go" } - ] + ], + "version": "0.2.0" }