diff options
| author | Dhananjay Balan <mail@dbalan.in> | 2023-10-29 23:17:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-29 15:17:34 -0700 |
| commit | 5bade7a734eb485a22cb7e62fcc1264b08d862bc (patch) | |
| tree | b2f0c42c4c04b16f4e7c59e03bc408a2e9057325 /test/formatters/samplecode | |
| parent | f4157e8c397896c0b984472ef7f82f444e0fc3e2 (diff) | |
Use hclfmt to format hashicorp HCL files. (#231)
Add formatter `hclfmt` for Hashicorp Configuration Langauge (HCL).
Diffstat (limited to 'test/formatters/samplecode')
| -rw-r--r-- | test/formatters/samplecode/hclfmt/in.hcl | 9 | ||||
| -rw-r--r-- | test/formatters/samplecode/hclfmt/out.hcl | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/test/formatters/samplecode/hclfmt/in.hcl b/test/formatters/samplecode/hclfmt/in.hcl new file mode 100644 index 0000000..2b77020 --- /dev/null +++ b/test/formatters/samplecode/hclfmt/in.hcl @@ -0,0 +1,9 @@ +block { + whatever = 1 + format = "iam in" +} + +vars = { +equals = "needs" + aligned = "properly" +} diff --git a/test/formatters/samplecode/hclfmt/out.hcl b/test/formatters/samplecode/hclfmt/out.hcl new file mode 100644 index 0000000..2e0be84 --- /dev/null +++ b/test/formatters/samplecode/hclfmt/out.hcl @@ -0,0 +1,9 @@ +block { + whatever = 1 + format = "iam in" +} + +vars = { + equals = "needs" + aligned = "properly" +} |
