mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 20:54:26 +08:00
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:
9
ale_linters/swift/swiftlint.vim
Normal file
9
ale_linters/swift/swiftlint.vim
Normal 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',
|
||||
\})
|
||||
Reference in New Issue
Block a user