diff options
author | Keith Maxwell <keith.maxwell@gmail.com> | 2019-05-23 14:12:36 +0100 |
---|---|---|
committer | Keith Maxwell <keith.maxwell@gmail.com> | 2019-05-23 15:49:02 +0100 |
commit | 88fa0b9294c6e907e8e2e8bee2ca593dff91b473 (patch) | |
tree | 5e094c3c5b45f2137ce821a93a86a3a6653ded01 /ale_linters/fuse | |
parent | 1a9b8a58c7e01f0926e51b39b7b37f932537cc0c (diff) | |
download | ale-88fa0b9294c6e907e8e2e8bee2ca593dff91b473.zip |
Add a terraform linter
This linter uses the check functionality built into terraform. ALE
already has a fixer using `terraform fmt` but this doesn't provide error
messages. ALE already has a linter using `tflint` but this requires an
extra application to be installed.
For example this linter will give a warning that ! is an illegal
character in the line below:
variable "example" !{}
This linter runs the buffer through the command below and parses the
output:
terraform fmt -no-color -check=true -
This commit includes a basic implementation, documentation and tests.
The only option is to control which executable is run.
Tested with:
$ terraform -version
Terraform v0.11.13
Diffstat (limited to 'ale_linters/fuse')
0 files changed, 0 insertions, 0 deletions