August 2019
Intermediate to advanced
486 pages
13h 52m
English
The solhint linter is an open source Solidity linter created by ProtoFire. solhint provides security and style guideline-specific validations. It also validates some of the best practices for Solidity; for example, the code should not have any empty blocks like the following one:
function getStatus() public view returns (bool) { //There is no code present in this function. //Hence, solhint will report issues for this //empty function definition.}
The empty block example is just one of the pattern solhint linter checks. There are many other patterns that linters check in code.