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