# eslint-config-reach

> Eslint config for Reach projects

Latest version **4.0.13** (published 2023-02-21) · MIT license · 0 weekly downloads

## Install

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

## 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 | 4.0.13 |
| Published | 2023-02-21 |
| First published | 2023-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 24 |
| Unpacked size | 9.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Adrian Stainforth |
| Maintainers | trinitymirrordigital-admin |

## Links

- npm: https://www.npmjs.com/package/eslint-config-reach
- Repository: https://bitbucket.org/trinitymirror-ondemand/reach-build-tools
- Homepage: https://bitbucket.org/trinitymirror-ondemand/dragonfly-build-tools#readme
- Issues: https://bitbucket.org/trinitymirror-ondemand/reach-build-tools/issues
- npm.io page: https://npm.io/package/eslint-config-reach

## Dependencies (24)

- [@babel/core](https://npm.io/package/@babel/core.md) 7.20.12
- [@eslint/eslintrc](https://npm.io/package/@eslint/eslintrc.md) ^1.4.1
- [eslint-plugin-jest](https://npm.io/package/eslint-plugin-jest.md) ^27.2.1
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.32.2
- [@babel/eslint-parser](https://npm.io/package/@babel/eslint-parser.md) ^7.19.1
- [@babel/eslint-plugin](https://npm.io/package/@babel/eslint-plugin.md) ^7.19.1
- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) ^19.0.4
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.27.5
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.6.0
- [eslint-formatter-table](https://npm.io/package/eslint-formatter-table.md) ^7.32.1
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^6.7.1
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^4.2.1
- [@rushstack/eslint-patch](https://npm.io/package/@rushstack/eslint-patch.md) ^1.2.0
- [@typescript-eslint/utils](https://npm.io/package/@typescript-eslint/utils.md) ^5.51.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^5.51.0
- [eslint-config-airbnb-base](https://npm.io/package/eslint-config-airbnb-base.md) ^15.0.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.6.0
- [eslint-import-resolver-node](https://npm.io/package/eslint-import-resolver-node.md) ^0.3.7
- [babel-plugin-module-resolver](https://npm.io/package/babel-plugin-module-resolver.md) ^5.0.0
- [eslint-plugin-testing-library](https://npm.io/package/eslint-plugin-testing-library.md) ^5.10.1
- [eslint-config-airbnb-typescript](https://npm.io/package/eslint-config-airbnb-typescript.md) ^17.0.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.51.0
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) ^3.5.3
- [eslint-import-resolver-babel-module](https://npm.io/package/eslint-import-resolver-babel-module.md) ^5.3.2

## Recent versions

- 4.0.13 (latest) — 2023-02-21
- 4.0.13-alpha.0 — 2023-02-14
- 4.0.12-alpha.0 — 2023-02-10

## README

# eslint-config-reach

Standard eslint setup for reach projects

## Install

```bash
yarn add -D eslint eslint-formatter-table eslint-import-resolver-babel-module eslint-import-resolver-node eslint-import-resolver-typescript eslint-config-reach
```

So this sets up basic linting for Reach projects. It has specific rules for typescript and jest.

## Rules & plugins

### Javascript

- [eslint-config-airbnb-base](https://www.npmjs.com/package/eslint-config-airbnb-base)
- [eslint-config-prettier](https://www.npmjs.com/package/eslint-config-prettier)
- [@babel/eslint-plugin](https://www.npmjs.com/package/@babel/eslint-plugin)
- [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import)

### React

- [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react)
- [eslint-plugin-react-hooks](https://www.npmjs.com/package/eslint-plugin-react-hooks)
- [eslint-plugin-jsx-a11y](https://www.npmjs.com/package/eslint-plugin-jsx-a11y)

### Typescript

- [eslint-config-airbnb-typescript](https://www.npmjs.com/package/eslint-config-airbnb-typescript)

### Jest

- [eslint-plugin-jest](https://www.npmjs.com/package/eslint-plugin-jest)
- [eslint-plugin-testing-library](https://www.npmjs.com/package/eslint-plugin-testing-library)

## Usage

In your .eslintrc.js file add:

```javascript
const { resolve } = require('path');

module.exports = {
  extends: 'eslint-config-reach-dragonfly',
  rules: {
    // Project specific rules here...
  },
};
```

Please note if you are using js, it will expect a babel.config.js in the root of the project.

For typescript ensure you have tsconfig.json

Copyright (c) 2022 "Reach Shared Services Ltd"

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