forked from github-mirrors/ale
[YAML] CircleCI: skip checking for new tool version (#3902)
This way the tool runs a bit faster and we don't create unneeded network requests. Don't know if there are other network requests still occurring.
This commit is contained in:
parent
dca56dd772
commit
2f72a3ed19
|
@ -28,7 +28,7 @@ endfunction
|
|||
call ale#linter#Define('yaml', {
|
||||
\ 'name': 'circleci',
|
||||
\ 'executable': {b -> expand('#' . b . ':p') =~? '\.circleci' ? 'circleci' : ''},
|
||||
\ 'command': 'circleci config validate - < %s',
|
||||
\ 'command': 'circleci --skip-update-check config validate - < %s',
|
||||
\ 'callback': 'ale_linters#yaml#circleci#Handle',
|
||||
\ 'output_stream': 'stderr',
|
||||
\ 'lint_file': 1,
|
||||
|
|
|
@ -10,4 +10,4 @@ Execute(The linter should not run for every YAML file):
|
|||
Execute(The linter should for YAML files in a .circleci directory):
|
||||
call ale#test#SetFilename('../test-files/.circleci/config.yml')
|
||||
|
||||
AssertLinter 'circleci', 'circleci config validate - < %s'
|
||||
AssertLinter 'circleci', 'circleci --skip-update-check config validate - < %s'
|
||||
|
|
Loading…
Reference in New Issue