summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlexander "Ananace" Olofsson <ace@haxalot.com>2018-10-26 18:34:32 +0200
committerw0rp <w0rp@users.noreply.github.com>2018-10-26 17:34:32 +0100
commit7af33637e874efea63a0bc27769aa4728962c652 (patch)
treea6cddce9bf5c5a661df6a1df5c0787b675ef8a9e /doc
parent34318aedf4ffaf4558a102db6c03ae3b13d5ff08 (diff)
downloadale-7af33637e874efea63a0bc27769aa4728962c652.zip
Add the dockerfile_lint linter for Dockerfiles (#1971)
* Add the dockerfile_lint linter for Dockerfiles
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-dockerfile.txt23
-rw-r--r--doc/ale.txt3
2 files changed, 25 insertions, 1 deletions
diff --git a/doc/ale-dockerfile.txt b/doc/ale-dockerfile.txt
index 805cc478..284c6a10 100644
--- a/doc/ale-dockerfile.txt
+++ b/doc/ale-dockerfile.txt
@@ -3,6 +3,29 @@ ALE Dockerfile Integration *ale-dockerfile-options*
===============================================================================
+dockerfile_lint *ale-dockerfile-dockerfile_lint*
+
+g:ale_dockerfile_dockerfile_lint_executable
+ *g:ale_dockerfile_dockerfile_lint_executable*
+ *b:ale_dockerfile_dockerfile_lint_executable*
+ Type: |String|
+ Default: `'dockerfile_lint'`
+
+ This variable can be changed to specify the executable used to run
+ dockerfile_lint.
+
+
+g:ale_dockerfile_dockerfile_lint_options
+ *g:ale_dockerfile_dockerfile_lint_options*
+ *b:ale_dockerfile_dockerfile_lint_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be changed to add additional command-line arguments to
+ the dockerfile lint invocation - like custom rule file definitions.
+
+
+===============================================================================
hadolint *ale-dockerfile-hadolint*
hadolint can be found at: https://github.com/hadolint/hadolint
diff --git a/doc/ale.txt b/doc/ale.txt
index 95110431..e190cf2a 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -75,6 +75,7 @@ CONTENTS *ale-contents*
dartanalyzer........................|ale-dart-dartanalyzer|
dartfmt.............................|ale-dart-dartfmt|
dockerfile............................|ale-dockerfile-options|
+ dockerfile_lint.....................|ale-dockerfile-dockerfile_lint|
hadolint............................|ale-dockerfile-hadolint|
elixir................................|ale-elixir-options|
mix.................................|ale-elixir-mix|
@@ -407,7 +408,7 @@ Notes:
* D: `dls`, `dmd`, `uncrustify`
* Dafny: `dafny`!!
* Dart: `dartanalyzer`!!, `language_server`, dartfmt!!
-* Dockerfile: `hadolint`
+* Dockerfile: `dockerfile_lint`, `hadolint`
* Elixir: `credo`, `dialyxir`, `dogma`, `mix`!!, `elixir-ls`
* Elm: `elm-format, elm-make`
* Erb: `erb`, `erubi`, `erubis`