Last active
February 25, 2019 06:23
-
-
Save muellerberndt/09d19bd031a54b979e1242d853f01162 to your computer and use it in GitHub Desktop.
SublimeLinter for MythX API Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from SublimeLinter.lint import Linter # or NodeLinter, PythonLinter, ComposerLinter, RubyLinter | |
| class __class__(Linter): | |
| cmd = ('sabre') | |
| regex = ( | |
| r'\s*(?P<line>\d+):(?P<col>\d+)\s*' | |
| r'((?P<error>error)|(?P<warning>warning))\s*' | |
| r'(?P<message>.+)' | |
| ) | |
| tempfile_suffix = "~" | |
| multiline = False | |
| defaults = { | |
| 'selector': 'source.solidity' | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment