mschuchard / linter-terraform-syntax

terraform validate linter and formatter for pulsar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

not running format

evanstoddard23 opened this issue · comments

I have "Use Terraform Fmt" selected which says it runs before linting but it never does.

also running into this, Atom 1.48.0, terraform 0.13.5, linter-terraform-syntax version 1.5.0.

in fact in mine, it wasn't running in linter or format mode. some further digging, it looks like something is breaking when using the hcl language provider (https://github.com/fd/language-hcl). when I switch to the terraform specific language support for a file (https://github.com/cmur2/language-terraform) then linting and formatting appear to work fine.

ahhh I may have spoken too soon. when there's an actual syntax error, linting works correctly. but if it's just a warning, (such as for deprecations), the linting messages don't show up. so even without the HCL language provider active, there's still some inconsistent weirdness.

@nergdron Please open a new issue for your situation as it is different.
Also, closing this due to lack of MCVE and description.