# @mediamonks/eslint-config-base

> This package provides a Base TypeScript eslint configuration as an extensible shared config, based on the [MediaMonks Coding Standards](https://github.com/mediamonks/frontend-coding-standards).

Latest version **2.2.1** (published 2022-03-17) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.2.1 |
| Published | 2022-03-17 |
| First published | 2021-02-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=14 |
| Dependencies | 4 |
| Unpacked size | 9.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | frontend.monks |
| Maintainers | will-newton, jessel, twan.braas, leroykorterink, mientjan, devmonk, thanarie, thi.js, psimk, nathanuphoff, larsvanbraam |
| Keywords | Media.Monks, Coding, Standards, eslint, JavaScript, TypeScript |

## Links

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

## Dependencies (4)

- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.3.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^5.15.0
- [eslint-config-airbnb-base](https://npm.io/package/eslint-config-airbnb-base.md) ^15.0.0
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) ^2.3.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
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 2.2.1 (latest) — 2022-03-17
- 2.2.0 — 2022-03-15
- 2.1.0 — 2022-03-15
- 2.0.0 — 2022-01-19
- 2.0.0-alpha.5 — 2022-01-03
- 2.0.0-alpha.4 — 2021-12-06
- 2.0.0-alpha.3 — 2021-11-15
- 2.0.0-alpha.2 — 2021-11-11
- 2.0.0-alpha.1 — 2021-11-11
- 2.0.0-alpha.0 — 2021-11-10
- 1.0.2 — 2021-03-04
- 1.0.1 — 2021-03-04
- 1.0.0 — 2021-03-02
- 1.0.0-alpha.2 — 2021-02-12
- 1.0.0-alpha.1 — 2021-02-08

## README

# @mediamonks/eslint-config-base [![npm version](https://badge.fury.io/js/%40mediamonks%2Feslint-config-base.svg)](https://badge.fury.io/js/%40mediamonks%2Feslint-config-base)

This package provides a Base TypeScript eslint configuration as an extensible shared config, based on the [MediaMonks Coding Standards](https://github.com/mediamonks/frontend-coding-standards).

## Installation

The configuration has a number of peer dependencies that must be installed.

```bash
npm i --dev @mediamonks/eslint-config-base
```

**Note for `yarn` users**: `yarn` does not install peer dependencies by default, this can be supplemented with `install-peerdeps`.

```bash
npx install-peerdeps --dev @mediamonks/eslint-config-base
```

## Usage

Now you can add `@mediamonks/eslint-config-base` to your `.eslintrc`. Adding `parserOptions.project` is only required if your project is using TypeScript.

```js
{
  "extends": "@mediamonks/eslint-config-base",
  "parserOptions": {
    "project": "./tsconfig.json" // can also be an array, if multiple `tsconfig.json` are present
  }
}

```

### Formatting & Prettier

This eslint configuration purposely had its formatting rules disabled. We encourage to use [prettier](https://prettier.io/) for formatting using the [`@mediamonks/prettier-config`](https://github.com/mediamonks/prettier-config).

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