0.0.1 • Published 7 years ago

eslint-config-debd v0.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

eslint-config-debd

ESLint config for common gotch'yas for different JS environments.

Note: I think formatting code is important (find out why here) but nowdays I'm using prettier to take care of formatting code for me.

Installation

npm install --save @nib/eslint-config-debd

Usage

In the root of your project, create a .eslintrc file with the following contents:

{
  "extends": "debd/<env>"
}

Now run eslint on your script files:

eslint **/*.js

Configurations

debd/es6

Linting rules for ES6.

debd/es

Linting rules for latest language features.

debd/react

Linting rules for ES6 and react.

debd/node

Linting rules for node v4.

Partial configurations

debd/test

Relax rules with useful behaviour for testing.

debd/debug

Relax rules with useful behaviour for debugging.

Change log

0.0.1