An open API service indexing awesome lists of open source software.

https://github.com/polymorpher/eslint-plugin-truffle


https://github.com/polymorpher/eslint-plugin-truffle

Last synced: 9 months ago
JSON representation

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"
// ...
]
// ...
}
```