mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-02 16:15:42 +08:00
Add 'dockerfile_hadolint_options' config setting (#4353)
- Add this option so command line arguments can be supplied to hadolint - This will be respected when running in docker and via the executable - Preserve the --no-color and - flags, and add these to the list - Add to docs and tests
This commit is contained in:
@@ -37,6 +37,16 @@ hadolint *ale-dockerfile-hadolint*
|
||||
hadolint can be found at: https://github.com/hadolint/hadolint
|
||||
|
||||
|
||||
g:ale_dockerfile_hadolint_options *g:ale_dockerfile_hadolint_options*
|
||||
*b:ale_dockerfile_hadolint_options*
|
||||
Type: |String|
|
||||
Default: `''`
|
||||
|
||||
This variable can be changed to add command-line arguments to the hadolint
|
||||
invocation. These arguments will be used whether docker is being used or not
|
||||
(see below).
|
||||
|
||||
|
||||
g:ale_dockerfile_hadolint_use_docker *g:ale_dockerfile_hadolint_use_docker*
|
||||
*b:ale_dockerfile_hadolint_use_docker*
|
||||
Type: |String|
|
||||
|
||||
Reference in New Issue
Block a user