Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/navarroaxel/eslint-config-indec
https://github.com/navarroaxel/eslint-config-indec
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/navarroaxel/eslint-config-indec
- Owner: navarroaxel
- License: mit
- Created: 2017-01-30T17:35:09.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-18T04:16:40.000Z (over 1 year ago)
- Last Synced: 2024-04-09T11:27:43.997Z (7 months ago)
- Language: JavaScript
- Size: 63.5 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## ESLint-config-indec
To use this ESLint config file follow these instructions:
# Installation
Install [ESLint](https://www.github.com/eslint/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:
```json
{
"extends": "indec"
}
```# Configuration for React
If you work with React you can use the ``react`` configuration:
```json
{
"extends": "indec/react"
}
```