I'm trying to use tflint on VSCode, but can't configure it properly.
On my terminal, both terraform and tflint works well.
terraform --version
Terraform v0.12.28
tflint --version
TFLint version 0.17.0
which tflint
/usr/local/bin/tflint
But on VSCode, linting does not work.
I've installed HashiCorp Terraform plugin v2.0.2, and enabled terraform language server. Now I checked my setting.json. Many articles on the Internet says we can configure it on terraform.lintPath fiels, but there isn't any such a field.
{
"editor.tabSize": 2,
"editor.formatOnSave": true,
"terraform.languageServer": {},
}
I tried to add terraform.lintPath inside or outside terraform.languageServer, but it failed. Is there any way to check path that VSCode can refer?