summaryrefslogtreecommitdiff
path: root/ale_linters/terraform
AgeCommit message (Collapse)Author
2021-12-11add support for checkov for linting terraform files (#4006)thyme-87
* add support for checkov for terraform * add tests for checkov handler * add basic linter config tests for checkov * update supported tools and languages lists * simplify ale_linters#terraform#checkov#Handle * ensure "-o json --quiet" is always set for checkov * add documentation for checkov including config options * fix tests after changing handling of default options for checkov * add checkov to list of tools in doc/ale.txt
2021-05-25Don't use a temporary file for tflint (#3717)David Hotham
* Don't use a temporary file for tflint * set cwd for tflint
2021-03-04Fix 3605 - set fallback for error detail (#3606)Horacio Sanson
* Fix 3605 - set fallback for error detail * Add use case with no detail key Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-01-30Fix 2726 - fix terraform linter.Horacio Sanson
Instead of using `terraform fmt` for linting use `terraform validate` with json output.
2021-01-30Fix 3371 - Add terraform-ls supportHoracio Sanson
2020-04-20Add terraform-lsp integration (#2758)Oliver Ford
* Add terraform-lsp integration https://github.com/juliosueiras/terraform-lsp * Add tests & docs for terraform-lsp integration terraform_langserver_options setting added to send custom flags to terraform-lsp. Vader tests have been added to test custom executable, custom flags, and finding the project root. All tests pass. Initial documentation has been added for the above. Resolves dense-analysis/ale#2758, juliosueiras#57 * Fix tag alignment Co-authored-by: = <Aubrey.S.Lavigne@gmail.com> Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2019-10-07fix tflint handler for 0.11+ (#2775)Jérôme Foray
* fix tflint handler for 0.11+ * fixup! fix tflint handler for 0.11+ * maintain compatibility with previous tflint output format * fixup! maintain compatibility with previous tflint output format * Add comment about tflint's output format accross versions
2019-08-13Remove +x bit from some files that don't need it.Eddie Lebow
2019-05-23Add a terraform linterKeith Maxwell
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
2019-02-22#2132 - Replace all uses of foo_callback with foow0rp
2018-09-04Improve ALE project style checkingw0rp
* The project style linter now runs while you type. * Now the scripts for checking the project require blank lines. * Many style issues have been found and fixed.
2018-08-02Simplify the code for most linters and tests with closuresw0rp
2017-11-19#852 - Capture error codes for tflintw0rp
2017-10-26don't use stdin with tflintNathaniel Williams
2017-10-26Add tflint fot TerraformNathaniel Williams