# @lendi/typescript-eslint-config

> ## How to use

Latest version **0.2.3** (published 2020-05-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install @lendi/typescript-eslint-config
pnpm add @lendi/typescript-eslint-config
yarn add @lendi/typescript-eslint-config
bun add @lendi/typescript-eslint-config
```

## 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.2.3 |
| Published | 2020-05-04 |
| First published | 2019-05-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | agoldenduck, ajainvivek, ak.lendi, ameenrj, amir.sarvestani, andrealin, anil.lendi, bharadwajsampath, blian, boris.gordon, brianduan, cbernardes, ddiprose_lendi, desmondhsu, edkim_lendi, emorg, harry.annear4, illi4, jackholt, jeffrey9231, john.zhang, jordan.simonovski, joshatlendi, kaceybui, khaled.quadir, lendi-nicolas-ronsmans, lendi-owner, lendidavidxiao, leo_lyu, leo.wei, luissilvalendi, malkyfaith, mario-lendi, matthew-jordan, naguibihab, nicktho, nodemacross, pliu2018, samnevers, scoutski, sebastien.quinternet, sid-lendi, stan-lendi, therozie, timsilva, topher.lendi, tues, vamsiampolu, wenxiu.yang.lendi, wilkinsleung0712, william.wu.lendi, williamparrylendi, yihan_lu_lendi |

## Links

- npm: https://www.npmjs.com/package/@lendi/typescript-eslint-config
- npm.io page: https://npm.io/package/@lendi/typescript-eslint-config

## Dependencies (7)

- [eslint](https://npm.io/package/eslint.md) ^6.8.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.19.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.20.1
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^6.10.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^3.1.2
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^2.24.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^2.24.0

## Recent versions

- 0.2.3 (latest) — 2020-05-04
- 0.2.2 — 2020-04-30
- 0.2.1 — 2020-03-18
- 0.2.0 — 2020-03-18
- 0.1.7 — 2020-02-11
- 0.1.6 — 2019-05-20
- 0.1.5 — 2019-05-20
- 0.1.4 — 2019-05-20
- 0.1.3 — 2019-05-19
- 0.1.2 — 2019-05-19
- 0.1.1 — 2019-05-19
- 0.1.0 — 2019-05-19

## README

### @lendi/typescript-eslint-config

## How to use

Add the package to your project.

`yarn add --dev @lendi/typescript-eslint-config`

Create a .eslintrc.js file in the root of the project and paste in the following code:

```js
const frontend = require('@lendi/typescript-eslint-config').frontend;

// Specify the typescript rules defined for this project.
frontend.parserOptions.project = './tsconfig.esm.json';

module.exports = frontend;
```

To specifically import the backend configuration, just change all instances of the word frontend to backend in the above block of code. The major difference between the two is detection and linting of jsx code.

Add the following script to your package.json:

`"eslint": "eslint -c .eslintrc.js --ext .js,.jsx,.ts,.tsx ./"`

The last argument should be the location of where eslint should be run against (e.g. src/ or packages/).

For any issues, please contact the HUB team.

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