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/dockerfile_lint.vim
5 call ale#linter#Reset()
7 Execute(The dockerfile_lint handler should handle broken JSON):
10 \ ale_linters#dockerfile#dockerfile_lint#Handle(bufnr(''), ["{asdf"])
12 Execute(The dockerfile_lint handler should handle an empty string response):
15 \ ale_linters#dockerfile#dockerfile_lint#Handle(bufnr(''), [])
17 Execute(The dockerfile_lint handler should handle an empty result, even if it shouldn't happen):
20 \ ale_linters#dockerfile#dockerfile_lint#Handle(bufnr(''), ["{}"])
22 Execute(The dockerfile_lint handler should handle a normal example):
28 \ 'text': "Required LABEL name/key 'Name' is not defined",
29 \ 'detail': "Required LABEL name/key 'Name' is not defined\n\nhttp://docs.projectatomic.io/container-best-practices/#_recommended_labels_for_your_project",
34 \ 'text': "Required LABEL name/key 'Version' is not defined",
35 \ 'detail': "Required LABEL name/key 'Version' is not defined\n\nhttp://docs.projectatomic.io/container-best-practices/#_recommended_labels_for_your_project",
40 \ 'text': "the MAINTAINER command is deprecated",
41 \ 'detail': "the MAINTAINER command is deprecated\n\nMAINTAINER is deprecated in favor of using LABEL since Docker v1.13.0\n\nhttps://github.com/docker/cli/blob/master/docs/deprecated.md#maintainer-in-dockerfile",
46 \ 'text': "There is no 'CMD' instruction",
47 \ 'detail': "There is no 'CMD' instruction\n\nhttps://docs.docker.com/engine/reference/builder/#cmd",
50 \ ale_linters#dockerfile#dockerfile_lint#Handle(bufnr(''), [
56 \ " \"message\": \"Required LABEL name/key 'Name' is not defined\",",
58 \ ' "level": "error",',
59 \ ' "lineContent": "",',
60 \ ' "reference_url": [',
61 \ ' "http://docs.projectatomic.io/container-best-practices/#",',
62 \ ' "_recommended_labels_for_your_project"',
66 \ " \"message\": \"Required LABEL name/key 'Version' is not defined\",",
68 \ ' "level": "error",',
69 \ ' "lineContent": "",',
70 \ ' "reference_url": [',
71 \ ' "http://docs.projectatomic.io/container-best-practices/#",',
72 \ ' "_recommended_labels_for_your_project"',
85 \ ' "label": "maintainer_deprecated",',
87 \ ' "level": "info",',
88 \ ' "message": "the MAINTAINER command is deprecated",',
89 \ ' "description": "MAINTAINER is deprecated in favor of using LABEL since Docker v1.13.0",',
90 \ ' "reference_url": [',
91 \ ' "https://github.com/docker/cli/blob/master/docs/deprecated.md",',
92 \ ' "#maintainer-in-dockerfile"',
94 \ ' "lineContent": "MAINTAINER Alexander Olofsson <ace@haxalot.com>",',
98 \ ' "instruction": "CMD",',
100 \ ' "level": "info",',
101 \ " \"message\": \"There is no 'CMD' instruction\",",
102 \ ' "description": "None",',
103 \ ' "reference_url": [',
104 \ ' "https://docs.docker.com/engine/reference/builder/",',