2021-04-15 00:01:18 +00:00
|
|
|
" Authors: Franco Victorio - https://github.com/fvictorio, Henrique Barcelos
|
|
|
|
" https://github.com/hbarcelos
|
2017-12-04 16:28:52 +00:00
|
|
|
" Description: Report errors in Solidity code with solhint
|
|
|
|
|
|
|
|
call ale#linter#Define('solidity', {
|
|
|
|
\ 'name': 'solhint',
|
2021-04-15 00:01:18 +00:00
|
|
|
\ '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',
|
2017-12-04 16:28:52 +00:00
|
|
|
\})
|