#2547 Add a cfn-lint alias for cloudformation

This commit is contained in:
w0rp 2021-01-31 17:06:56 +00:00
parent 1457e54528
commit c747c277c2
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ endfunction
call ale#linter#Define('cloudformation', { call ale#linter#Define('cloudformation', {
\ 'name': 'cloudformation', \ 'name': 'cloudformation',
\ 'aliases': ['cfn-lint'],
\ 'executable': 'cfn-lint', \ 'executable': 'cfn-lint',
\ 'command': 'cfn-lint --template %t --format parseable', \ 'command': 'cfn-lint --template %t --format parseable',
\ 'callback': 'ale_linters#cloudformation#cfn_python_lint#Handle', \ 'callback': 'ale_linters#cloudformation#cfn_python_lint#Handle',