summaryrefslogtreecommitdiff
path: root/ale_linters/solidity/solhint.vim
blob: 505bd5bb40ba09a0939f7884177918616b274d38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
" 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',
\})