mirror of
https://github.com/dense-analysis/ale
synced 2024-12-30 10:02:14 +00:00
1c90d8c018
* fix: added support for local solhint executable * feat: added support for matching parse errors * test: added test for solhint command callback and handler * chore: removed command callback test * refactor: made solhint handler structure closer to eslint
13 lines
486 B
VimL
13 lines
486 B
VimL
" Authors: Franco Victorio - https://github.com/fvictorio, Henrique Barcelos
|
|
" https://github.com/hbarcelos
|
|
" Description: Report errors in Solidity code with solhint
|
|
|
|
call ale#linter#Define('solidity', {
|
|
\ 'name': 'solhint',
|
|
\ 'output_stream': 'both',
|
|
\ 'executable': function('ale#handlers#solhint#GetExecutable'),
|
|
\ 'cwd': function('ale#handlers#solhint#GetCwd'),
|
|
\ 'command': function('ale#handlers#solhint#GetCommand'),
|
|
\ 'callback': 'ale#handlers#solhint#Handle',
|
|
\})
|