truffle-plugin-solhint
v0.0.6
Published
Lint your smart contracts with solhint from the Truffle CLI
Downloads
3
Maintainers
Readme
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
module.exports = {
/* ... 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 :)