0.3.1 • Published 6 years ago

eslint-plugin-truffle v0.3.1

Weekly downloads
109
License
GPL-3.0-only
Repository
bitbucket
Last release
6 years ago

eslint-plugin-truffle

ESLint plugin for Truffle development.

Provides a custom environment containing Truffle global variables.

Installation

yarn add --dev eslint eslint-plugin-truffle

Usage

In your ESLint config file (ex.: .eslintrc), add:

{
  // ...
  "env": {
    // ...
    "mocha": true, // for test files
    "truffle/globals": true // same as "truffle/truffle": true
  },
  "plugins": [
    // ...
    "truffle"
    // ...
  ]
  // ...
}
0.3.1

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago