Releases: protofire/solhint
v3.2.1
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.
v3.0.0-rc.8
Fix problem with no-unused-vars
and new call syntax.
Better error handling when a plugin is loaded.
v3.0.0-rc.7
- Upgrade parser
v2.0.0-beta.2
This is a beta version of Solhint 2.0. This is a major version change, with some breaking changes but also with a lot of new stuff.
The three main changes are:
- Rules are disabled by default. This means that you have to explicitly enable each rule that you want.
- Since enabling a lot of rules may be cumbersome, we also added shareable configs. These are npm packages that start with
solhint-config-
and that allow you to extend to configuration from another one, and also to share a configuration between different projects. You can learn more here. - We also added support for plugins. Similar to shareable configs, plugins are npm packages that start with
solhint-plugin-
. You can learn more about plugins here.
To try it, install solhint@next
:
npm install -g solhint@next
v1.4.0
v1.1.10
v1.1.9
v1.1.8
v1.1.7
List of Changes: