eslint-config-indec

MIT License

Stars
0

ESLint-config-indec

To use this ESLint config file follow these instructions:

Installation

Install ESLint either locally or globally.

$ npm install eslint --save-dev

If you installed ESLint globally, you have to install the Indec configuration globally too. Otherwise, install it locally.

$ npm install eslint-plugin-lodash --save-dev

Configuration

Create a .eslintrc.json file in the root folder of your project then add the following code:

{
  "extends": "indec"
}

Configuration for React

If you work with React you can use the react configuration:

{
  "extends": "indec/react"
}