Solhint is an open-source project to provide a linting utility for Solidity code.
Updated solidity parser to 0.14.5 - Fixed source code typos and docs
This version upgrades @solidity-parser/parser
to the latest version (v0.13.2). It also includes a fix for #290.
This release fixes an issue with the ordering
rule #274
This release upgrades the parser, adding support for file-level functions and constants.
It also fixes issues #249 and #258.
This release fixes an issue that was making solhint's package to include a lot of unnecessary stuff.
Thanks to @cruzdanilo for the PR!
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!
This version adds support for solidity 0.7.1.
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.
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.
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.
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.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