Merge pull request #262 from KenjiTakahashi/fix_swiftlint
Fix SwiftLint
This commit is contained in:
commit
2478d7d925
@ -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',
|
||||||
\})
|
\})
|
||||||
|
Loading…
Reference in New Issue
Block a user