Add support for Swift with swiftlint (#214)

* Add support for swift with swiftlint

* Fix issue by adding '.swift' file extension
This commit is contained in:
David Mohundro
2016-12-13 09:28:20 -06:00
committed by w0rp
parent 10777d3421
commit 3418faf054
3 changed files with 11 additions and 0 deletions

View File

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