This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
ale/ale_linters/swift/swiftlint.vim
KenjiTakahashi 62b492c727 Fix SwiftLint
1. Should be defined for 'swift' files, not 'swiftlint'.
2. Use `--use-stdin` option instead of the stdin-wrapper.
2017-01-17 19:59:45 +01:00

9 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',
\})