From 90faa90bf503f4766e56ad99028ae16d10cb4881 Mon Sep 17 00:00:00 2001 From: Lucas Gravley <29484535+admiralAwkbar@users.noreply.github.com> Date: Thu, 23 Apr 2020 09:16:33 -0500 Subject: [PATCH] Adding tflint --- docs/disabling-linters.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/disabling-linters.md b/docs/disabling-linters.md index 5243b5f3..a0f2abab 100644 --- a/docs/disabling-linters.md +++ b/docs/disabling-linters.md @@ -291,6 +291,7 @@ taz = "some/huge/line/string/with/embed/#{values}.that/surpasses/the/max/column/ - There is currently **No** way to disable rules inline of the file(s) -------------------------------------------------------------------------------- + ## Dockerfile -[dockerfilelint](https://github.com/replicatedhq/dockerfilelint.git) @@ -311,9 +312,20 @@ taz = "some/huge/line/string/with/embed/#{values}.that/surpasses/the/max/column/ -------------------------------------------------------------------------------- ## Terraform +- [tflint](https://github.com/terraform-linters/tflint) + ### tflint standard Config file +- `.github/linters/.tflint.hcl` +- You can pass multiple rules and overwrite default rules +- File should be located at: `.github/linters/.tflint.hcl` + ### tflint disable single line +- There is currently **No** way to disable rules inline of the file(s) + ### tflint disable code block +- There is currently **No** way to disable rules inline of the file(s) + ### tflint disable entire file +- There is currently **No** way to disable rules inline of the file(s) --------------------------------------------------------------------------------