# @dlevs/eslint-config

> ESLint config for my projects

Latest version **2.0.5** (published 2024-05-26) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.5 |
| Published | 2024-05-26 |
| First published | 2023-06-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 8 |
| Unpacked size | 36.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Dan Levett |
| Maintainers | dlevs |

## Links

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

## Dependencies (8)

- [espree](https://npm.io/package/espree.md) ^9.6.1
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.33.1
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.28.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.9.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^6.2.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.6.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^6.2.0
- [eslint-plugin-simple-import-sort](https://npm.io/package/eslint-plugin-simple-import-sort.md) ^10.0.0

## Recent versions

- 2.0.5 (latest) — 2024-05-26
- 2.0.3 — 2024-05-26
- 2.0.2 — 2024-05-26
- 2.0.1 — 2024-05-26
- 2.0.0 — 2023-07-30
- 1.0.14 — 2023-06-11
- 1.0.13 — 2023-06-04
- 1.0.12 — 2023-06-04
- 1.0.11 — 2023-06-03
- 1.0.10 — 2023-06-03
- 1.0.9 — 2023-06-03
- 1.0.8 — 2023-06-03
- 1.0.6 — 2023-06-03
- 1.0.5 — 2023-06-03
- 1.0.4 — 2023-06-03
- … 4 more at https://npm.io/package/@dlevs/eslint-config/versions

## README

# ESLint config

An ESLint config for TypeScript projects.

## Installation

```sh
npm i -D eslint @dlevs/eslint-config
```

## Usage

Make an `eslint.config.js` file:

```js
import { configure } from "@dlevs/eslint-config";

/** @type {import("eslint").Linter.FlatConfig[]} */
export default [
  {
    // Use this instead of a .eslintignore file.
    ignores: ["build/**", "public/**"],
  },
  ...configure({ react: true, remix: true }),
];
```

Note, `.eslintrc` files won't work - you must name the file `eslint.config.js`, and use the ["flat config" format](https://eslint.org/blog/2022/08/new-config-system-part-2/). It was implemented this way as it's [the only way to include plugins in a shareable config](https://github.com/eslint/eslint/issues/3458).

## Update VSCode settings

If using VSCode, lint errors will not show until you add this to your `settings.json` file:

```json
{
  "eslint.experimental.useFlatConfig": true
}
```

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