2021-06-30 12:54:34 -04:00
|
|
|
" Authors: Franco Victorio - https://github.com/fvictorio, Henrique Barcelos
|
|
|
|
" https://github.com/hbarcelos
|
2018-03-31 10:55:20 -04:00
|
|
|
" Description: Report errors in Solidity code with solhint
|
|
|
|
|
|
|
|
call ale#linter#Define('solidity', {
|
|
|
|
\ 'name': 'solhint',
|
2021-06-30 12:54:34 -04: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',
|
2018-03-31 10:55:20 -04:00
|
|
|
\})
|