summaryrefslogtreecommitdiff
path: root/ale_linters/terraform/tflint.vim
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-11-19 13:37:56 +0000
committerw0rp <devw0rp@gmail.com>2017-11-19 13:37:56 +0000
commit62904d39ee5dd89d14ff809cc505f7492cdddf4a (patch)
treee0955b0491891276ee7380dc9e8c1a0a934ff369 /ale_linters/terraform/tflint.vim
parentfa7f0e2b85a252598023450336bbf4f3b320c1ef (diff)
downloadale-62904d39ee5dd89d14ff809cc505f7492cdddf4a.zip
#852 - Capture error codes for tflint
Diffstat (limited to 'ale_linters/terraform/tflint.vim')
-rw-r--r--ale_linters/terraform/tflint.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/ale_linters/terraform/tflint.vim b/ale_linters/terraform/tflint.vim
index 894be22d..93966ff3 100644
--- a/ale_linters/terraform/tflint.vim
+++ b/ale_linters/terraform/tflint.vim
@@ -23,6 +23,7 @@ function! ale_linters#terraform#tflint#Handle(buffer, lines) abort
\ 'lnum': l:error.line,
\ 'text': l:error.message,
\ 'type': l:type,
+ \ 'code': l:error.detector,
\})
endfor