Skip to content

Commit

Permalink
fix tflint invocation
Browse files Browse the repository at this point in the history
Closes: flycheck#2024

tflint can no longer be run on individual files. With this commit,
tflint is run on all files of the directory of the buffer file.
  • Loading branch information
Dominique Dumont committed Nov 6, 2023
1 parent e56e30d commit 2b34c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flycheck.el
Original file line number Diff line number Diff line change
Expand Up @@ -12255,7 +12255,7 @@ information about tflint."
See URL `https://github.com/terraform-linters/tflint'."
:command ("tflint" "--format=json"
(option-list "--var-file=" flycheck-tflint-variable-files concat)
source-original)
(option-list "--chdir=" source-directory concat))
:error-parser flycheck-parse-tflint-linter
:predicate flycheck-buffer-saved-p
:modes terraform-mode)
Expand Down

0 comments on commit 2b34c0d

Please sign in to comment.