Skip to content

Commit 9e22cb7

Browse files
authored
Merge pull request #26 from geojaz/fix_hclfmt
Updates the hcl linting
2 parents 599ac6b + b374e0a commit 9e22cb7

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,5 @@ be able to accept your pull requests.
3131

3232
## Style
3333

34-
Format your HCL code with [`hclfmt`](https://github.com/fatih/hclfmt).
35-
36-
Make sure there are no differences between the `hclfmt` output and your .tf files:
37-
38-
```
39-
diff -B <( cat *.tf ) <( hclfmt *.tf )
40-
```
41-
42-
Write changes to the files:
43-
44-
```
45-
hclfmt -w *.tf
46-
```
34+
Format your HCL code according to the [Hashicorp guidelines](https://github.com/hashicorp/hcl).
35+
You can lint your terraform code by running `make check_terraform` and lint the entire repo by running `make`. Note: `make` lints and generates docs.

0 commit comments

Comments
 (0)