# @earnest/eslint-config-es7

> Earnest's ESLint config for ES7

Latest version **5.0.0** (published 2019-12-31) · MIT license · 0 weekly downloads

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

## Install

```sh
npm install @earnest/eslint-config-es7
pnpm add @earnest/eslint-config-es7
yarn add @earnest/eslint-config-es7
bun add @earnest/eslint-config-es7
```

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 5.0.0 |
| Published | 2019-12-31 |
| First published | 2016-01-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Earnest, Inc |
| Maintainers | earnestci |
| Keywords | eslint, eslintconfig, config, earnest, javascript, styleguide, es7, es6 |

## Links

- npm: https://www.npmjs.com/package/@earnest/eslint-config-es7
- Repository: https://github.com/meetearnest/eslint-config-earnest-es7
- Issues: https://github.com/meetearnest/eslint-config-earnest-es7/issues
- npm.io page: https://npm.io/package/@earnest/eslint-config-es7

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 5.0.0 (latest) — 2019-12-31
- 4.0.3 — 2017-12-07
- 4.0.2 — 2017-12-07
- 4.0.1 — 2017-03-16
- 3.0.1 — 2017-03-16
- 3.0.0 — 2016-06-22
- 2.1.1 — 2016-03-28
- 2.1.0 — 2016-02-23
- 2.0.0 — 2016-02-17
- 1.0.0 — 2016-01-26

## README

# eslint-config-earnest-es7

Earnest's ESLint config for ES7

## Usage

1. Install the following `"devDependencies"` in your repo:

    ```
    npm install @earnest/eslint-config-es7@latest babel-core babel-cli babel-eslint babel-preset-es2015 babel-preset-stage-3 eslint eslint-plugin-babel --save-dev
    ```

2. Add a root level `.eslintrc` that references this package

    ```
    echo '{"extends": "@earnest/eslint-config-es7"}' > .eslintrc
    ```

    Alternatively add this entry to your `package.json`:

    ```json
    "eslintConfig": {
      "extends": "@earnest/eslint-config-es7"
    }
    ```

3. Add another `.eslintrc` to your `test` folder that supports mocha

    ```
    npm install eslint-plugin-mocha --save-dev
    echo '{"extends": "@earnest/eslint-config-es7/mocha"}' > test/.eslintrc
    ```

4. (Recommended) Add the following entries to your `package.json` for simplified CLI access to linting:

    ```json
    "scripts": {
      "lint": "eslint .",
      "lint-changed": "git diff --name-only --cached --relative | grep '\\.js$' | xargs ./node_modules/.bin/eslint"
    }
    ```

5. (Recommended) Setup your editor to support inline ESLint support. For Sublime Text, that means `npm install --global eslint` then installing `SublimeLinter` and `SublimeLinter-contrib-eslint` packages. For Vim, use [ALE](https://github.com/w0rp/ale) or [Syntastic](https://github.com/scrooloose/syntastic).  (ALE is asynchronous and requires Vim 8.)

## Linting this Repository

In order to run linting against this repository, you must create a self-referential link to this module:

 ```
 npm install
 npm link
 npm link @earnest/eslint-config-es7
 npm run lint
 ```

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