Skip to content

Commit 0d95833

Browse files
committed
update readme
Signed-off-by: Dalwar Hossain <5631766+dalwar23@users.noreply.github.com>
1 parent b93a342 commit 0d95833

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Add the following `repo` to your `.pre-commit-config.yaml`
2121
- repo: https://github.com/devopsforhuman/tf-pre-commit
2222
rev: v1.0.2
2323
hooks:
24-
id: terraform-fmt
24+
- id: terraform-fmt
2525
...
2626
```
2727
if you want to provide `options` or `global options` (try `terraform fmt --help`) then use `args`
@@ -31,8 +31,8 @@ if you want to provide `options` or `global options` (try `terraform fmt --help`
3131
- repo: https://github.com/devopsforhuman/tf-pre-commit
3232
rev: v1.0.2
3333
hooks:
34-
id: terraform-fmt
35-
args:
34+
- id: terraform-fmt
35+
args:
3636
- --options="-no-color -diff -check"
3737
...
3838
```

0 commit comments

Comments
 (0)