Merge pull request #262 from KenjiTakahashi/fix_swiftlint

Fix SwiftLint
This commit is contained in:
w0rp 2017-01-19 13:23:46 +00:00 committed by GitHub
commit 2478d7d925

View File

@ -1,9 +1,9 @@
" Author: David Mohundro <david@mohundro.com> " Author: David Mohundro <david@mohundro.com>
" Description: swiftlint for swift files " Description: swiftlint for swift files
call ale#linter#Define('swiftlint', { call ale#linter#Define('swift', {
\ 'name': 'swiftlint', \ 'name': 'swiftlint',
\ 'executable': 'swiftlint', \ 'executable': 'swiftlint',
\ 'command': g:ale#util#stdin_wrapper . ' .swift swiftlint', \ 'command': 'swiftlint lint --use-stdin',
\ 'callback': 'ale#handlers#HandleGCCFormat', \ 'callback': 'ale#handlers#HandleGCCFormat',
\}) \})