This plugin runs solhint on the project's sources and prints the report.
npm install --save-dev @nomiclabs/hardhat-solhint
And add the following statement to your
Or, if you are using TypeScript, add this to your
This plugin overrides the
check task, runs solhint on the project's sources and prints the report to the console.
This plugin does not extend the environment.
There are no additional steps you need to take for this plugin to work.
Install it, run
npx hardhat check and check the Solhint report.
You may want to add a solhint configuration (opens new window) file to customize your rules or include a Solhint plugin.