summaryrefslogtreecommitdiff
path: root/ale_linters/solidity
diff options
context:
space:
mode:
authorJeff Sutherland <jeffdsuth@gmail.com>2017-09-14 00:45:18 +0700
committerJeff Sutherland <jeffdsuth@gmail.com>2017-09-14 01:59:22 +0700
commit7302bedc5edb814c183109422271151af7ad7495 (patch)
tree65a47a32ae1a6816e650ed4e9d0120470028f20b /ale_linters/solidity
parent91df9ba2c0ccbe53e7838d16642e00c6280eefaa (diff)
downloadale-7302bedc5edb814c183109422271151af7ad7495.zip
Add solidity linter: solium
Diffstat (limited to 'ale_linters/solidity')
-rw-r--r--ale_linters/solidity/solium.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/ale_linters/solidity/solium.vim b/ale_linters/solidity/solium.vim
new file mode 100644
index 00000000..61ab184d
--- /dev/null
+++ b/ale_linters/solidity/solium.vim
@@ -0,0 +1,9 @@
+" Author: Jeff Sutherland - https://github.com/jdsutherland
+" Description: Report errors in Solidity code with solium
+
+call ale#linter#Define('solidity', {
+\ 'name': 'solium',
+\ 'executable': 'solium',
+\ 'command': 'solium --reporter gcc --file %t',
+\ 'callback': 'ale#handlers#gcc#HandleGCCFormat',
+\})