Solhint Versions Save

Solhint is an open-source project to provide a linting utility for Solidity code.

v3.3.8

1 year ago

Updated solidity parser to 0.14.5 - Fixed source code typos and docs

v3.3.6

2 years ago

This version upgrades @solidity-parser/parser to the latest version (v0.13.2). It also includes a fix for #290.

v3.3.4

3 years ago

This release fixes an issue with the ordering rule #274

v3.3.2

3 years ago

This release upgrades the parser, adding support for file-level functions and constants.

It also fixes issues #249 and #258.

v3.3.1

3 years ago

This release fixes an issue that was making solhint's package to include a lot of unnecessary stuff.

Thanks to @cruzdanilo for the PR!

v3.3.0

3 years ago

This release adds the comprehensive-interface rule, that checks that all your public methods are overrides. This is useful to make sure that the API of your contract is extracted to an interface. This rule is not included in the default or recommended rulesets.

Thanks to @nventuro for suggesting it!

v3.2.1

3 years ago

This version adds support for solidity 0.7.1.

v3.0.0

3 years ago

Solhint 3.0 is finally released! This release brings several changes, hopefully for good :slightly_smiling_face:

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 and compiler-gt-0_4 were removed. You can use compiler-version instead.
  • mark-callable-contracts was removed from the solhint:recommended ruleset.

v3.0.0-rc.8

4 years ago

Fix problem with no-unused-vars and new call syntax.

Better error handling when a plugin is loaded.

https://github.com/protofire/solhint/compare/v3.0.0-rc.7...v3.0.0-rc.8