# eslint-config-jameslnewell

> ESLint config for common gotch'yas for different JS environments.

Latest version **3.2.0** (published 2019-01-04) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.2.0 |
| Published | 2019-01-04 |
| First published | 2015-09-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 50.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | eastwood, jameslnewell |
| Keywords | eslint, config, eslint-config, jameslnewell, readable, semicolons |

## Links

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

## Dependencies (5)

- [babel-eslint](https://npm.io/package/babel-eslint.md) ^8.2.1
- [eslint-plugin-babel](https://npm.io/package/eslint-plugin-babel.md) ^4.1.1
- [eslint-plugin-mocha](https://npm.io/package/eslint-plugin-mocha.md) ^4.11.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.1.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.6.0

## 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

- 3.2.0 (latest) — 2019-01-04
- 2.0.0-preview.1 (next) — 2016-10-19
- 3.1.0 — 2018-02-05
- 3.0.5 — 2017-08-09
- 3.0.4 — 2017-07-19
- 3.0.3 — 2017-07-12
- 3.0.2 — 2017-06-28
- 3.0.1 — 2017-06-26
- 3.0.0 — 2017-06-23
- 3.0.0-preview — 2017-06-23
- 3.0.0-preview.4 — 2017-06-14
- 3.0.0-preview.3 — 2017-04-15
- 3.0.0-preview.2 — 2017-03-13
- 3.0.0-preview.1 — 2017-03-13
- 2.0.0-preview.6 — 2017-01-31
- … 42 more at https://npm.io/package/eslint-config-jameslnewell/versions

## README

# eslint-config-jameslnewell

ESLint config for common gotch'yas for different JS environments.

> Note: I think formatting code is important ([find out why here](https://github.com/airbnb/javascript/issues/866)) but nowdays
I'm using [prettier](https://github.com/prettier/prettier) to take care of formatting code for  me.

## Installation

    npm install --save eslint-config-jameslnewell

## Usage

In the root of your project, create a `.eslintrc` file with the following contents:

```json
{
  "extends": "jameslnewell/<env>"
}
```

    
Now run `eslint` on your script files:

    eslint **/*.js

## Configurations

### jameslnewell/es5

Linting rules for ES5.

### jameslnewell/es6

Linting rules for ES6.

### jameslnewell/es

Linting rules for latest language features.

### jameslnewell/react

Linting rules for ES6 and react.

### jameslnewell/node

Linting rules for node v4.

## Partial configurations

### jameslnewell/test

Relax rules with useful behaviour for testing.

### jameslnewell/debug

Relax rules with useful behaviour for debugging.

## Change log

### 3.0.0-preview.*

- break: removed all rules that enforced formatting
- break: switch `jameslnewell/test` from `mocha` to `jest`
- break: removed rules already configured in `eslint:recommended`

I bumped the major version because lots of people were using the preview.

### 2.0.0-preview.*

- break: use webpack config for resolution of `imports` 
- break: moved `mocha` rules to the `test` configuration
- break: turned on a whole heap of new `import, `react` and `mocha` rules
- break: using `babel-eslint` to support class properties

I bumped the major version because lots of people were using the preview.

### 1.0.0-preview.*

- break: migrate to `eslint` v2

### 0.5.1

- fix: moved `eslint-plugin-mocha` from `devDependencies` to `dependencies`

### 0.5.0

- add: added `eslint-plugin-mocha` to prevent `.only()` slipping through

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