62b492c727
1. Should be defined for 'swift' files, not 'swiftlint'. 2. Use `--use-stdin` option instead of the stdin-wrapper.
10 lines
275 B
VimL
10 lines
275 B
VimL
" Author: David Mohundro <david@mohundro.com>
|
|
" Description: swiftlint for swift files
|
|
|
|
call ale#linter#Define('swift', {
|
|
\ 'name': 'swiftlint',
|
|
\ 'executable': 'swiftlint',
|
|
\ 'command': 'swiftlint lint --use-stdin',
|
|
\ 'callback': 'ale#handlers#HandleGCCFormat',
|
|
\})
|