Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #271 from strayer/capitalized-dockerfile-filetype
Browse files Browse the repository at this point in the history
feat(hadolint): add Dockerfile to filetypes
  • Loading branch information
Jose Alvarez authored Oct 21, 2021
2 parents d5aeb72 + 7852d82 commit 4a7ac16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/BUILTINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ local sources = { null_ls.builtins.diagnostics.hadolint }

##### Defaults

- `filetypes = { "dockerfile" }`
- `filetypes = { "Dockerfile", "dockerfile" }`
- `command = "hadolint"`
- `args = { "--no-fail", "--format=json", "$FILENAME" }`

Expand Down
2 changes: 1 addition & 1 deletion lua/null-ls/builtins/diagnostics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ M.eslint_d = h.make_builtin({

M.hadolint = h.make_builtin({
method = DIAGNOSTICS,
filetypes = { "dockerfile" },
filetypes = { "Dockerfile", "dockerfile" },
generator_opts = {
command = "hadolint",
format = "json",
Expand Down

0 comments on commit 4a7ac16

Please sign in to comment.