-
Install Solhint via npm:
npm i -g solhint -
Initialize a configuration file:
solhint init-config -
Update
.solhint.jsonto extendsolhint:recommendedinstead ofsolhint:default -
Add the
reason-stringrule to the configuration. -
Run solhint on the
ERC20.solcontract:solhint ERC20.sol -
Fix the warnings and errors
This repository was archived by the owner on Nov 7, 2025. It is now read-only.
protofire/solhint-workshop
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|