# @lendesk/eslint-config-lendesk

> Lendesk JS ESlint Standard

Latest version **6.0.0** (published 2019-01-30) · UNLICENSED license · 0 weekly downloads

## Install

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

## 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 | 6.0.0 |
| Published | 2019-01-30 |
| First published | 2017-03-28 |
| Weekly downloads | 0 |
| License | UNLICENSED |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Michael Steward |
| Maintainers | lendesk-mobile-dev, michael-steward, rafehatfield |
| Keywords | eslint, eslintconfig |

## Links

- npm: https://www.npmjs.com/package/@lendesk/eslint-config-lendesk
- Repository: https://github.com/BetterOfficeApps/eslint-config-lendesk
- Issues: https://github.com/BetterOfficeApps/eslint-config-lendesk/issues
- npm.io page: https://npm.io/package/@lendesk/eslint-config-lendesk

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

- 6.0.0 (latest) — 2019-01-30
- 5.0.0 — 2019-01-30
- 4.1.0 — 2018-12-09
- 4.0.0 — 2018-10-23
- 3.0.1 — 2018-09-12
- 3.0.0 — 2018-09-12
- 2.0.0 — 2017-06-26
- 1.0.0 — 2017-03-28

## README

# eslint-config-lendesk
Lendesk JS ESLint Standard Config. This is based on [StandardJS](https://standardjs.com/) with some minor adjustments to work with [Prettier](https://prettier.io/)


## Installation
Install the config:
``` bash
$ yarn add -D @lendesk/eslint-config-lendesk
```

Install the peer dependencies shown after running the above command (using `yarn -D`)

Then install Prettier for formatting concerns:
``` bash
$ yarn add -D prettier
```

Once the linter and prettier are setup it is recommended to add a git commit hook to auto-run these tools when code is committed. To do this:

1. Install Husky and LintStaged:
```bash
yarn add -D husky lint-staged
```

2. Add lint-staged config to `package.json`:
```json
"lint-staged": {
  "*.js": [
    "prettier --write",
    "eslint --fix",
    "git add"
  ]
}
```

3. Add `precommit` script to the `package.json` "scripts" section:
```json
"scripts": {
  "precommit": "lint-staged"
}
```

## Usage

In ESLint config (e.g. `.eslintrc.json`)

``` js
{
  "extends": "@lendesk/eslint-config-lendesk"
}
```

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