eslint-config-digiteels
v2.1.0
Published
Custom ESLint configs based on DigitEels' style recommendations.
Downloads
2
Maintainers
Readme
eslint-config-digiteels
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"
]
}