All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 runtime ale_linters/solidity/solhint.vim
5 call ale#linter#Reset()
7 Execute(The solhint handler should parse linter error messages correctly):
13 \ 'text': 'Compiler version must be fixed',
14 \ 'code': 'compiler-fixed',
20 \ 'text': 'Use double quotes for string literals',
27 \ 'text': 'Use double quotes for string literals',
34 \ 'text': 'Expected indentation of 4 spaces but found 2',
41 \ 'text': 'Expected indentation of 4 spaces but found 2',
48 \ 'text': 'Function order is incorrect, public function can not go after internal function.',
49 \ 'code': 'func-order',
53 \ ale_linters#solidity#solhint#Handle(bufnr(''), [
54 \ 'contracts/Bounty.sol:1:17: Compiler version must be fixed [Warning/compiler-fixed]',
55 \ 'contracts/Bounty.sol:4:8: Use double quotes for string literals [Error/quotes]',
56 \ 'contracts/Bounty.sol:5:8: Use double quotes for string literals [Error/quotes]',
57 \ 'contracts/Bounty.sol:13:3: Expected indentation of 4 spaces but found 2 [Error/indent]',
58 \ 'contracts/Bounty.sol:14:3: Expected indentation of 4 spaces but found 2 [Error/indent]',
59 \ 'contracts/Bounty.sol:47:3: Function order is incorrect, public function can not go after internal function. [Error/func-order]',
62 Execute(The solhint handler should parse syntax error messages correctly):
68 \ 'text': "missing ';' at 'uint248'",
69 \ 'code': 'Parse error',
75 \ 'text': "no viable alternative at input '_loserStakeMultiplier}'",
76 \ 'code': 'Parse error',
80 \ ale_linters#solidity#solhint#Handle(bufnr(''), [
81 \ "contracts/Bounty.sol:30:4: Parse error: missing ';' at 'uint248' [Error]",
82 \ "contracts/Bounty.sol:203:4: Parse error: no viable alternative at input '_loserStakeMultiplier}' [Error]",