Skip to content

Add solhint support#1192

Merged
w0rp merged 4 commits into
dense-analysis:masterfrom
fvictorio:add-solhint-support
Dec 7, 2017
Merged

Add solhint support#1192
w0rp merged 4 commits into
dense-analysis:masterfrom
fvictorio:add-solhint-support

Conversation

@fvictorio

Copy link
Copy Markdown
Contributor

Add support for solhint, a linter for the Solidity language.

Comment thread test/handler/test_solhint_handler.vader Outdated
\ {
\ 'lnum': 1,
\ 'col': 17,
\ 'text': 'Compiler version must be fixed (compiler-fixed)',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you capture the error code at the end of the output and put it into the code key? Then the formatting for the error code will be configurable in ALE. Have a look at how this is handled for flake8 and ESLint.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated, thanks for the feedback.

@fvictorio

Copy link
Copy Markdown
Contributor Author

@w0rp Is the last commit what you suggested?

@w0rp w0rp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that looks fine to me. 👍

@w0rp w0rp merged commit c6fc9cd into dense-analysis:master Dec 7, 2017
@fvictorio fvictorio deleted the add-solhint-support branch December 7, 2017 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants