# eslint-config-remitbri

> Shareable ESLint configurations, by & for @remitbri. React-friendly.

Latest version **5.3.0** (published 2017-03-07) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install eslint-config-remitbri
pnpm add eslint-config-remitbri
yarn add eslint-config-remitbri
bun add eslint-config-remitbri
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 5.3.0 |
| Published | 2017-03-07 |
| First published | 2015-08-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Rémi Gérard-Marchant |
| Maintainers | remitbri |
| Keywords | babel-eslint, es3, es5, es6, es2015, eslint, eslint-plugin-react, eslint-config, javascript, js, ecmascript, lint, linter, react, remitbri |

## Links

- npm: https://www.npmjs.com/package/eslint-config-remitbri
- Repository: https://github.com/remitbri/eslint-config-remitbri
- Homepage: https://github.com/remitbri/eslint-config-remitbri#readme
- Issues: https://github.com/remitbri/eslint-config-remitbri/issues
- npm.io page: https://npm.io/package/eslint-config-remitbri

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 5.3.0 (latest) — 2017-03-07
- 5.2.2 — 2017-01-03
- 5.2.1 — 2017-01-03
- 5.2.0 — 2016-12-11
- 5.1.0 — 2016-11-27
- 5.0.0 — 2016-11-20
- 4.1.0 — 2016-04-22
- 4.0.1 — 2016-04-16
- 4.0.0 — 2016-04-16
- 3.4.0 — 2016-01-25
- 3.3.2 — 2016-01-16
- 3.3.1 — 2016-01-10
- 3.3.0 — 2016-01-10
- 3.2.0 — 2015-12-26
- 3.1.0 — 2015-12-21
- … 17 more at https://npm.io/package/eslint-config-remitbri/versions

## README

### eslint-config-remitbri

Opinionated rule settings to be used with [ESLint](http://eslint.org/). Can be used with ESLint v3.17.1 and eslint-plugin-react v6.10.0, or above.
![npm version](https://img.shields.io/npm/v/eslint-config-remitbri.svg)

# Installation
```shell
npm install --save-dev eslint-config-remitbri
```

# Default usage
You may:

 - add the following line to the `.eslintrc` or to the `eslintConfig` field of the `package.json` of your project
```json
{
  "extends" : "remitbri"
}
```

 - or use the command line
 ```shell
 eslint -c remitbri *.js
 ```

Consult the ESLint documentation for more information about [extending configuration files](http://eslint.org/docs/user-guide/configuring#extending-configuration-files).

This default configuration corresponds to `react` (see below) — because it's opinionated :)

Other than those specified in the available configurations, no language option (`ecmaFeatures`), parser, environment, global or plugin is set. Add them as needed in your own `.eslintrc`!

# Available configurations
## es5
This is a collection of [rules](http://eslint.org/docs/rules/) regarding possible errors, best practices, strict mode, variables and stylistic issues.

```json
{
  "extends" : "remitbri/es5"
}
```

## es6
This
 - extends the `es5` configuration
 - add rules related to es2015
 - adds the `es6` [environment](http://eslint.org/docs/user-guide/configuring#specifying-environments)

```json
{
  "extends" : "remitbri/es6"
}
```

## es2017
This
 - extends the `es6` configuration
 - add rules related to es2017

```json
{
  "extends" : "remitbri/es2017"
}
```

## node
This
 - adds rules related to Node.js
 - adds the `node` [environment](http://eslint.org/docs/user-guide/configuring#specifying-environments)

It's not meant to be used on its own, rather with other configurations. E.g

```json
{
  "extends" : ["remitbri/es5", "remitbri/node"]
}
```

or

```json
{
  "extends" : ["remitbri/es6", "remitbri/node"]
}
```

## ie8
This
 - extends the `es5` configuration
 - adds a couple of rule modifications because *hello ECMAScript 3*…
 - adds the `browser` [environment](http://eslint.org/docs/user-guide/configuring#specifying-environments)

```json
{
  "extends" : "remitbri/ie8"
}
```

## react
This is the default configuration.
This
 - extends the `es6` and `node` configurations
 - adds rules related to [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react)
 - adds the `browser` [environment](http://eslint.org/docs/user-guide/configuring#specifying-environments)
 - adds the `jsx`, `modules` and `experimentalObjectRestSpread` [ecmaFeatures](http://eslint.org/docs/user-guide/configuring#specifying-language-options) (the other ones are already added in the `es6` environment)

```json
{
  "extends" : "remitbri/react"
}
```

---
_Source: https://npm.io/package/eslint-config-remitbri · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
