Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[WIP] Tool slither-format: automatic code improvements #238
This PR (depends on #237
The current list of detectors used to detect and fix include:
Detectors highlight names, context and source-mapping of code constructs which are then used by slither-format to programmatically locate those constructs in the Solidity files and then replace them with changes based on best practices. Lexical analysis for identification of such constructs is confined to the smallest possible region to avoid conflicts with similarly named constructs (with potentially different types or signatures) in other scopes, functions or contracts within the same file (because of shadowing, overloading etc.).
Done: Framework and basic functionality. Unit testing.
referenced this pull request
May 10, 2019
What was done:
Additionally, there is one change to the naming convention detector:
Once thorough tests are performed, we can merge the PR