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

slither-format: automatic code improvements #150

Closed
montyly opened this issue Jan 23, 2019 · 3 comments
Closed

slither-format: automatic code improvements #150

montyly opened this issue Jan 23, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@montyly
Copy link
Member

montyly commented Jan 23, 2019

We can create a tool similar to clang-format, that takes a Solidity file and uses slither detectors to improve the code, in terms of readability and optimization.

We can automatically fix:

  • unused-state
  • solc-version
  • pragma
  • naming-convention
  • external-function
  • constable-states
  • constant-function

slither-format could produce a Solidity file, or a git patch.

@montyly montyly added enhancement New feature or request help wanted Extra attention is needed labels Jan 23, 2019
@samparsky
Copy link
Contributor

@montly I am interested in this

@rajeevgopalakrishna
Copy link
Contributor

I suppose we can close this, correct @montyly ?

@montyly
Copy link
Member Author

montyly commented Oct 23, 2019

yes!

@montyly montyly closed this as completed Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants