All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 runtime ale_linters/dockerfile/hadolint.vim
5 call ale#linter#Reset()
7 Execute(The hadolint handler should handle an empty string response):
10 \ ale_linters#dockerfile#hadolint#Handle(bufnr(''), [])
12 Execute(The hadolint handler should handle a normal example):
20 \ 'text': 'Always tag the version of an image explicitly',
21 \ 'detail': "DL3006 ( https://github.com/hadolint/hadolint/wiki/DL3006 )\n\nAlways tag the version of an image explicitly",
28 \ 'text': 'Specify version with `yum install -y <package>-<version>`.',
29 \ 'detail': "DL3033 ( https://github.com/hadolint/hadolint/wiki/DL3033 )\n\nSpecify version with `yum install -y <package>-<version>`.",
36 \ 'text': 'In POSIX sh, brace expansion is undefined.',
37 \ 'detail': "SC2039 ( https://github.com/koalaman/shellcheck/wiki/SC2039 )\n\nIn POSIX sh, brace expansion is undefined.",
40 \ ale_linters#dockerfile#hadolint#Handle(bufnr(''), [
41 \ '-:1 DL3006 warning: Always tag the version of an image explicitly',
42 \ '-:4 DL3033 warning: Specify version with `yum install -y <package>-<version>`.',
43 \ '-:12 SC2039 warning: In POSIX sh, brace expansion is undefined.',
46 Execute(The hadolint handler should handle parsing errors):
53 \ 'text': "unexpected 'b' expecting '#', ADD, ARG, CMD, COPY, ENTRYPOINT, ENV, EXPOSE, FROM, HEALTHCHECK, LABEL, MAINTAINER, ONBUILD, RUN, SHELL, STOPSIGNAL, USER, VOLUME, WORKDIR, or end of input",
54 \ 'detail': "hadolint could not parse the file because of a syntax error.",
57 \ ale_linters#dockerfile#hadolint#Handle(bufnr(''), [
58 \ '/dev/stdin:1:1 unexpected ''b'' expecting ''#'', ADD, ARG, CMD, COPY, ENTRYPOINT, ENV, EXPOSE, FROM, HEALTHCHECK, LABEL, MAINTAINER, ONBUILD, RUN, SHELL, STOPSIGNAL, USER, VOLUME, WORKDIR, or end of input',