Skip to content
New issue

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

hadolint for linting #44

Open
madhukar93 opened this issue Jun 6, 2020 · 1 comment
Open

hadolint for linting #44

madhukar93 opened this issue Jun 6, 2020 · 1 comment

Comments

@madhukar93
Copy link

https://github.com/hadolint/hadolint

A smarter Dockerfile linter that helps you build best practice Docker images. The linter is parsing the Dockerfile into an AST and performs rules on top of the AST. It is standing on the shoulders of ShellCheck to lint the Bash code inside RUN instructions.

This should make a good addition to the plugin. Thoughts?

@meinzer1899
Copy link

meinzer1899 commented Nov 11, 2022

You can configure hadolint by using this configuration https://github.com/iamcco/diagnostic-languageserver/wiki/Linters#hadolint and map the filetype with
"diagnostic-languageserver.filetypes": { "dockerfile": "hadolint" } .

Alternatively, you can use coc-diagnostic and just map the filetype.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants