Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for most relevant CLI options from eslint #4

Open
federicobond opened this issue Jul 25, 2017 · 2 comments
Open

Add support for most relevant CLI options from eslint #4

federicobond opened this issue Jul 25, 2017 · 2 comments

Comments

@federicobond
Copy link
Owner

No description provided.

@maurelian
Copy link

Would this include something that allows me to choose how many lines to show before/after the error?

ie.

error: Add explicit visibility specifier to function (no-implicit-visibility) at <input>:501:5:
> 501 |     function getUnavailableTakerTokenAmount(bytes32 orderHash)
      |     ^

instead of:

error: Add explicit visibility specifier to function (no-implicit-visibility) at <input>:501:5:
  499 |     /// @param orderHash The Keccak-256 hash of the given order.
  500 |     /// @return Sum of values already filled and cancelled.
> 501 |     function getUnavailableTakerTokenAmount(bytes32 orderHash)
      |     ^
  502 |         constant
  503 |         returns (uint unavailableTakerTokenAmount)
  504 |     {

@federicobond
Copy link
Owner Author

I don't have much control over the output of the formatters, but you can now try using -f/--format in latest master. All formatters defined for eslint should be supported.

solchecker --format stylish contracts/*

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

No branches or pull requests

2 participants