truffle-plugin-solhint
This truffle plugin allows you to run Solhint linter in your smart contracts source code, straight from the Truffle CLI.
Installation
- Install the plugin with npm
npm install truffle-plugin-solhint
- Add the plugin to your
truffle.js
ortruffle-config.js
file
moduleexports = /* ... rest of truffle-config */ plugins: 'truffle-plugin-solhint'
Usage
Run the following command.
truffle run solhint
Licence
MIT
Back us
truffle-plugin-solhint is free to use and open-sourced. If you value our effort and feel like helping us to keep pushing this plugin forward, you can send us a small donation. We'll highly appreciate it :)