mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
#2132 - Replace all uses of foo_callback with foo
This commit is contained in:
@@ -12,9 +12,9 @@ endfunction
|
||||
|
||||
call ale#linter#Define('stylus', {
|
||||
\ 'name': 'stylelint',
|
||||
\ 'executable_callback': ale#node#FindExecutableFunc('stylus_stylelint', [
|
||||
\ 'executable': {b -> ale#node#FindExecutable(b, 'stylus_stylelint', [
|
||||
\ 'node_modules/.bin/stylelint',
|
||||
\ ]),
|
||||
\ 'command_callback': 'ale_linters#stylus#stylelint#GetCommand',
|
||||
\ ])},
|
||||
\ 'command': function('ale_linters#stylus#stylelint#GetCommand'),
|
||||
\ 'callback': 'ale#handlers#css#HandleStyleLintFormat',
|
||||
\})
|
||||
|
||||
Reference in New Issue
Block a user