#852 - Capture error codes for ansible-lint
This commit is contained in:
@@ -12,7 +12,8 @@ Execute(The ansible-lint handler should handle basic errors):
|
||||
\ 'lnum': 35,
|
||||
\ 'col': 0,
|
||||
\ 'type': 'E',
|
||||
\ 'text': 'EANSIBLE0002: Trailing whitespace',
|
||||
\ 'text': 'Trailing whitespace',
|
||||
\ 'code': 'EANSIBLE0002',
|
||||
\ },
|
||||
\ ],
|
||||
\ ale_linters#ansible#ansible_lint#Handle(bufnr(''), [
|
||||
@@ -26,7 +27,8 @@ Execute (The ansible-lint handler should handle names with spaces):
|
||||
\ 'lnum': 6,
|
||||
\ 'col': 6,
|
||||
\ 'type': 'E',
|
||||
\ 'text': 'E111: indentation is not a multiple of four',
|
||||
\ 'text': 'indentation is not a multiple of four',
|
||||
\ 'code': 'E111',
|
||||
\ },
|
||||
\ ],
|
||||
\ ale_linters#ansible#ansible_lint#Handle(bufnr(''), [
|
||||
|
||||
Reference in New Issue
Block a user