mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-04 01:13:44 +08:00
linters/xo: prefer function shorthand
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -3,7 +3,7 @@
|
||||
|
||||
call ale#linter#Define('javascript', {
|
||||
\ 'name': 'xo',
|
||||
\ 'executable': {b -> ale#handlers#xo#GetExecutable(b)},
|
||||
\ 'command': {b -> ale#handlers#xo#GetLintCommand(b)},
|
||||
\ 'executable': function('ale#handlers#xo#GetExecutable'),
|
||||
\ 'command': function('ale#handlers#xo#GetLintCommand'),
|
||||
\ 'callback': 'ale#handlers#xo#HandleJSON',
|
||||
\})
|
||||
Reference in new issue
Block a user