UNPKG

1.44 kBMarkdownView Raw
1# eslint-config
2[![npm version](https://img.shields.io/npm/v/@monolambda/eslint-config.svg)](https://www.npmjs.com/package/@monolambda/eslint-config)
3[![Travis branch](https://img.shields.io/travis/monolambda/eslint-config/master.svg)](https://travis-ci.org/monolambda/eslint-config)
4[![Dependency Status](https://gemnasium.com/badges/github.com/monolambda/eslint-config.svg)](https://gemnasium.com/github.com/monolambda/eslint-config)
5[![npm](https://img.shields.io/npm/dt/@monolambda/eslint-config.svg)](https://www.npmjs.com/package/@monolambda/eslint-config)
6
7## Update
8
9The new version of the package is called [@monolambda/eslint-config](https://www.npmjs.com/package/@monolambda/eslint-config) and the old one is deprecated.
10
11## Rules>
12
13#### Rule set based on:
14- ESLint Recommended
15- [JavaScript Standard Style](https://github.com/feross/standard)
16- [JavaScript Standard React](https://github.com/feross/eslint-config-standard-react)
17
18#### Included Plugins
19- `eslint-plugin-jest`
20
21#### Opinions:
22- Uses `babel-eslint` parser by default.
23- Uses `4, spaces` for easier readability.
24- Keeps most of the rules recommended rules.
25
26**Note:** The current ruleset is subject to change and under review, please feel free to send a PR for rules you feel that are over the top.
27
28## Installation:
29```sh
30npm install @monolambda/eslint-config eslint --save
31```
32## Usage
33In `.eslintrc`:
34
35```json
36{
37 "extends": "@monolambda/eslint-config"
38}
39```