Skip to content

Commit

Permalink
feat(diagnotics): added diagnostics for terragrunt(hcl) files (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurang033 authored Jul 26, 2024
1 parent a0fe586 commit e33a457
Show file tree
Hide file tree
Showing 6 changed files with 401 additions and 255 deletions.
18 changes: 18 additions & 0 deletions doc/BUILTINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1567,6 +1567,24 @@ local sources = { null_ls.builtins.diagnostics.terraform_validate }
- Command: `terraform`
- Args: `{ "validate", "-json" }`

### [terragrunt_validate](https://terragrunt.gruntwork.io/)

Terragrunt validate is is a subcommand of terragrunt to validate configuration files in a directory

#### Usage

```lua
local sources = { null_ls.builtins.diagnostics.terragrunt_validate }
```

#### Defaults

- Filetypes: `{ "hcl" }`
- Method: `diagnostics_on_save`
- Command: `terragrunt`
- Args: `{ "hclvalidate", "--terragrunt-hclvalidate-json" }`


### [textidote](https://github.com/sylvainhalle/textidote)

Spelling, grammar and style checking on LaTeX documents.
Expand Down
5 changes: 5 additions & 0 deletions doc/builtins.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,11 @@
"terraform-vars"
]
},
"terragrunt_validate": {
"filetypes": [
"hcl",
]
},
"textidote": {
"filetypes": [
"markdown",
Expand Down
Loading

0 comments on commit e33a457

Please sign in to comment.