truffle-plugin-solhint

Lint your smart contracts with solhint from the Truffle CLI

Usage no npm install needed!

<script type="module">
  import trufflePluginSolhint from 'https://cdn.skypack.dev/truffle-plugin-solhint';
</script>

README

truffle-plugin-solhint

Donate with Ethereum

Gitter chat NPM version MIT licensed dependencies Status devDependencies Status

This truffle plugin allows you to run Solhint linter in your smart contracts source code, straight from the Truffle CLI.

Installation

  1. Install the plugin with npm
npm install truffle-plugin-solhint
  1. Add the plugin to your truffle.js or truffle-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 :)

Donate with Ethereum