2016-12-13 10:28:20 -05:00
|
|
|
" Author: David Mohundro <david@mohundro.com>
|
|
|
|
" Description: swiftlint for swift files
|
|
|
|
|
2017-01-15 10:01:35 -05:00
|
|
|
call ale#linter#Define('swift', {
|
2016-12-13 10:28:20 -05:00
|
|
|
\ 'name': 'swiftlint',
|
|
|
|
\ 'executable': 'swiftlint',
|
2017-01-15 10:01:35 -05:00
|
|
|
\ 'command': 'swiftlint lint --use-stdin',
|
2016-12-13 10:28:20 -05:00
|
|
|
\ 'callback': 'ale#handlers#HandleGCCFormat',
|
|
|
|
\})
|