# eslint-config-learnx

> ESLint configuration used by WWL React apps

Latest version **0.1.5** (published 2020-10-02) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2020-10-02 |
| First published | 2020-09-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Andrew Craswell |
| Maintainers | acraswell |

## Links

- npm: https://www.npmjs.com/package/eslint-config-learnx
- npm.io page: https://npm.io/package/eslint-config-learnx

## Dependencies (14)

- [eslint](https://npm.io/package/eslint.md) 6.x
- [prettier](https://npm.io/package/prettier.md) ^2.1.2
- [babel-eslint](https://npm.io/package/babel-eslint.md) 10.x
- [eslint-plugin-jest](https://npm.io/package/eslint-plugin-jest.md) ^24.0.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) 7.x
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) 2.x
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^6.12.0
- [eslint-plugin-flowtype](https://npm.io/package/eslint-plugin-flowtype.md) 4.x
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) 6.x
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^3.1.4
- [eslint-config-react-app](https://npm.io/package/eslint-config-react-app.md) ^5.2.1
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) 2.x
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) 2.x
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) 2.x

## Recent versions

- 0.1.5 (latest) — 2020-10-02
- 0.1.1 — 2020-09-28
- 0.0.7 — 2020-09-25

## README

# eslint-config-learnx

This package includes the shareable ESLint configuration used by the WWL org, and is the recommended default for React apps.<br>

## Usage in Create React App Projects

The easiest way to use this configuration is with [Create React App](https://github.com/facebook/create-react-app), which includes many of the dependencies by default.

```sh
yarn add eslint-config-learnx prettier eslint-config-prettier eslint-plugin-prettier --dev
```

## Usage Outside of Create React App

If you want to use this ESLint configuration in a project not built with Create React App, you can install it with the following steps.

First, install this package, ESLint and the necessary plugins.

```sh
yarn add eslint-config-learnx eslint-config-react-app eslint-config-prettier eslint-plugin-prettier --dev

yarn add eslint-config-react-app @typescript-eslint/eslint-plugin@2.x @typescript-eslint/parser@2.x babel-eslint@10.x eslint@6.x eslint-plugin-flowtype@4.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-react@7.x eslint-plugin-react-hooks@2.x --dev
```

## Setting up the eslint config

Finally, create a file named `.eslintrc.json` with following contents in the root folder of your project:

```json
{
  "extends": "learnx"
}
```

That's it! You can override the settings from `eslint-config-learnx` by editing the `.eslintrc.json` file. Learn more about [configuring ESLint](http://eslint.org/docs/user-guide/configuring) on the ESLint website.

test

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