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/dockerlinter.vim
5 call ale#linter#Reset()
7 Execute(The dockerlinter handler should handle broken JSON):
10 \ ale_linters#dockerfile#dockerlinter#Handle(bufnr(''), ["{asdf"])
12 Execute(The dockerlinter handler should handle an empty string response):
15 \ ale_linters#dockerfile#dockerlinter#Handle(bufnr(''), [])
17 Execute(The dockerlinter handler should handle an empty result, even if it shouldn't happen):
20 \ ale_linters#dockerfile#dockerlinter#Handle(bufnr(''), ["{}"])
22 Execute(The dockerlinter handler should handle a normal example):
29 \ 'text': "Delete the apt-get lists after installing something",
30 \ 'detail': "Delete the apt-get lists after installing something\n\nhttps://github.com/buddy-works/dockerfile-linter/blob/master/Rules.md#ER0002",
36 \ 'text': "Avoid additional packages by specifying --no-install-recommends",
37 \ 'detail': "Avoid additional packages by specifying --no-install-recommends\n\nhttps://github.com/buddy-works/dockerfile-linter/blob/master/Rules.md#ER0010",
43 \ 'text': "Pin versions in apt get install",
44 \ 'detail': "Pin versions in apt get install\n\nhttps://github.com/buddy-works/dockerfile-linter/blob/master/Rules.md#ER0012",
50 \ 'text': "Declare and assign separately to avoid masking return values.",
51 \ 'detail': "Declare and assign separately to avoid masking return values.\n\nhttps://www.shellcheck.net/wiki/SC2155",
57 \ 'text': "Quote this to prevent word splitting.",
58 \ 'detail': "Quote this to prevent word splitting.\n\nhttps://www.shellcheck.net/wiki/SC2046",
64 \ 'text': "Double quote to prevent globbing and word splitting.",
65 \ 'detail': "Double quote to prevent globbing and word splitting.\n\nhttps://www.shellcheck.net/wiki/SC2086",
71 \ 'text': "Quote this to prevent word splitting.",
72 \ 'detail': "Quote this to prevent word splitting.\n\nhttps://www.shellcheck.net/wiki/SC2046",
75 \ ale_linters#dockerfile#dockerlinter#Handle(bufnr(''), [
76 \ '[{"lineNumber":11,"message":"Delete the apt-get lists after installing something","level":"info","code":"ER0002"},{"lineNumber":11,"message":"Avoid additional packages by specifying --no-install-recommends","level":"info","code":"ER0010"},{"lineNumber":11,"message":"Pin versions in apt get install","level":"info","code":"ER0012"},{"lineNumber":30,"message":"Declare and assign separately to avoid masking return values.","level":"warning","code":"SC2155"},{"lineNumber":30,"message":"Quote this to prevent word splitting.","level":"warning","code":"SC2046"},{"lineNumber":30,"message":"Double quote to prevent globbing and word splitting.","level":"info","code":"SC2086"},{"lineNumber":31,"message":"Quote this to prevent word splitting.","level":"warning","code":"SC2046"}]',