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 authored and w0rp committed 2016-12-13 15:28:20 +00:00
1 parent 10777d3421
commit 3418faf054
3 files changed
+11

No files matched your search

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