v3.0.0
Solhint 3.0 is finally released! This release brings several changes, hopefully for good 🙂
You can try it out by upgrading your existing installation to 3.0.0
. If you have feedback or found a bug, please open an issue.
Change underlying parser
We changed the solidity parser we were using for a higher level library. This might seem like an implementation detail, but the practical implication is that now writing plugins should be much easier. Of course, this also means that existing plugins will need to be re-written, but it shouldn't be a lot of work. If you have a plugin (or want to write one), feel free to ask us for help. And don't forget to read the plugins guide.
Autofix support
We added support for autofix in solhint, and implemented it for a couple of simple cases (avoid-throw
and avoid-sha3
), but we plan to add it to more rules.
Breaking changes
- All the styling rules were removed. We recommend using prettier-solidity instead. You can combine it with solhint with this plugin.
compiler-fixed
andcompiler-gt-0_4
were removed. You can usecompiler-version
instead.mark-callable-contracts
was removed from thesolhint:recommended
ruleset.