Set a default for the puppetlint options so the linter will behave like it always has done, by default
This commit is contained in:
parent
7e0e7359c0
commit
c2fdb399a7
@ -5,7 +5,7 @@ let g:ale_puppet_puppetlint_executable =
|
|||||||
\ get(g:, 'ale_puppet_puppetlint_executable', 'puppet-lint')
|
\ get(g:, 'ale_puppet_puppetlint_executable', 'puppet-lint')
|
||||||
|
|
||||||
let g:ale_puppet_puppetlint_options =
|
let g:ale_puppet_puppetlint_options =
|
||||||
\ get(g:, 'ale_puppet_puppetlint_options', '')
|
\ get(g:, 'ale_puppet_puppetlint_options', '--no-autoloader_layout-check')
|
||||||
|
|
||||||
function! ale_linters#puppet#puppetlint#GetExecutable(buffer) abort
|
function! ale_linters#puppet#puppetlint#GetExecutable(buffer) abort
|
||||||
return g:ale_puppet_puppetlint_executable
|
return g:ale_puppet_puppetlint_executable
|
||||||
|
@ -16,7 +16,7 @@ g:ale_puppet_puppetlint_executable *g:ale_puppet_puppetlint_executable*
|
|||||||
g:ale_puppet_puppetlint_options *g:ale_puppet_puppetlint_options*
|
g:ale_puppet_puppetlint_options *g:ale_puppet_puppetlint_options*
|
||||||
|
|
||||||
Type: |String|
|
Type: |String|
|
||||||
Default: `''`
|
Default: `'--no-autoloader_layout-check'`
|
||||||
|
|
||||||
This variable can be changed to add command-line arguments to the
|
This variable can be changed to add command-line arguments to the
|
||||||
puppet-lint invocation.
|
puppet-lint invocation.
|
||||||
|
Loading…
Reference in New Issue
Block a user