https://github.com/polymorpher/eslint-plugin-truffle
https://github.com/polymorpher/eslint-plugin-truffle
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/polymorpher/eslint-plugin-truffle
- Owner: polymorpher
- Created: 2021-04-11T08:05:44.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-11T08:11:00.000Z (about 5 years ago)
- Last Synced: 2025-01-30T23:17:47.938Z (over 1 year ago)
- Language: JavaScript
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-plugin-truffle
ESLint plugin for Truffle development. It provides a custom environment containing Truffle global variables.
## Usage
In your `.eslintrc` file, add:
```javascript
{
// ...
"env": {
// ...
"mocha": true, // for test files
"truffle/globals": true // same as "truffle/truffle": true
},
"plugins": [
// ...
"truffle"
// ...
]
// ...
}
```