eslint-config-digiteels

Custom ESLint configs based on DigitEels' style recommendations.


Keywords
digiteels, es5, es6, eslint, eslintconfig
License
WTFPL
Install
npm install eslint-config-digiteels@2.1.0

Documentation

eslint-config-digiteels

npm version eslint WTFPL

Custom ESLint configs based on DigitEels' style recommendations.

Heavily influenced by:

Usage

Install with ESLint for development using npm (requires ESLint v3.5.0 and above):

npm install --save-dev eslint eslint-config-digiteels

Extend your ESLint configuration using digiteels (or one of the below configs), for example:

{
  "extends": "digiteels"
}

That's it!

Configurations

Start by extending a complete configuration for one of the following ECMAScript versions:

  • ES6: digiteels/ecmaVersion/6 (default)
  • ES5: digiteels/ecmaVersion/5

Additionally extend one or more of the following environment / framework configurations applicable to your project:

  • Node.js: digiteels/env/node
  • React: digiteels/env/react

For example, for a Node.js project using ES6:

{
  "extends": [
    "digiteels",
    "digiteels/env/node"
  ]
}

License

Covered by the WTFPL, see LICENSE for full details.