https://github.com/protofire/truffle-plugin-solhint
Solhint linter plugin for Truffle Framework
https://github.com/protofire/truffle-plugin-solhint
Last synced: 6 months ago
JSON representation
Solhint linter plugin for Truffle Framework
- Host: GitHub
- URL: https://github.com/protofire/truffle-plugin-solhint
- Owner: protofire
- Created: 2019-06-28T14:46:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T09:50:34.000Z (almost 4 years ago)
- Last Synced: 2025-05-27T23:41:44.007Z (8 months ago)
- Language: JavaScript
- Size: 126 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# truffle-plugin-solhint
[](https://en.cryptobadges.io/donate/0xe8cdf02efd8ab0a490d7b2cb13553389c9bc932e)
[](https://gitter.im/solhint/Lobby)
[](https://npmjs.org/package/truffle-plugin-solhint)
[](https://raw.githubusercontent.com/protofire/truffle-plugin-solhint/master/LICENSE)
[](https://david-dm.org/protofire/truffle-plugin-solhint)
[](https://david-dm.org/protofire/truffle-plugin-solhint?type=dev)
This truffle plugin allows you to run [Solhint](https://github.com/protofire/solhint) linter in your smart contracts source code, straight from the Truffle CLI.
## Installation
1. Install the plugin with npm
```sh
npm install truffle-plugin-solhint
```
2. Add the plugin to your `truffle.js` or `truffle-config.js` file
```js
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 :)
[](https://en.cryptobadges.io/donate/0xe8cdf02efd8ab0a490d7b2cb13553389c9bc932e)