We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is part of hashicorp/vscode-terraform#635
To enable the integration of linters within the language server, we need to accept a set of configurations upon initialization.
terraform-ls/internal/langserver/handlers/initialize.go
Lines 59 to 71 in f246688
tflint
options.linters.tflint.binaryPath
options.linters.tflint.binaryFlags
options.linters.tflint.lintOnSave
The text was updated successfully, but these errors were encountered:
Just noting here that the settings here should ideally follow the principles outlined as part of #1010
i.e. on the LS side this could look like this
{ "linters": { "tflint": { "binaryPath": "", "binaryFlags": [""], "lintOnSave": true } } }
and VS Code may expose the same options as
{ "linters.tflint.binaryPath": "", "linters.tflint.binaryFlags": [""], "linters.tflint.lintOnSave": true
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
This is part of hashicorp/vscode-terraform#635
Use-cases
To enable the integration of linters within the language server, we need to accept a set of configurations upon initialization.
Proposal
terraform-ls/internal/langserver/handlers/initialize.go
Lines 59 to 71 in f246688
tflint
, new options might look like this:options.linters.tflint.binaryPath
options.linters.tflint.binaryFlags
options.linters.tflint.lintOnSave
The text was updated successfully, but these errors were encountered: