# @lshay/eslint-config

> The eslint config I use on my projects. Automatically adds TypeScript, React, and Vitest rules if they are install.

Latest version **0.3.5** (published 2023-07-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lshay/eslint-config
pnpm add @lshay/eslint-config
yarn add @lshay/eslint-config
bun add @lshay/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.3.5 |
| Published | 2023-07-28 |
| First published | 2022-08-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 16.x \|\| 18.x \|\| 20.x |
| Dependencies | 34 |
| Unpacked size | 29 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Luke Shay |
| Maintainers | lukeshay |

## Links

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

## Dependencies (34)

- [semver](https://npm.io/package/semver.md) ^7.5.4
- [merge-anything](https://npm.io/package/merge-anything.md) ^5.1.7
- [eslint-plugin-n](https://npm.io/package/eslint-plugin-n.md) ^16.0.1
- [eslint-plugin-fp](https://npm.io/package/eslint-plugin-fp.md) ^2.3.0
- [eslint-plugin-etc](https://npm.io/package/eslint-plugin-etc.md) ^2.0.3
- [@html-eslint/parser](https://npm.io/package/@html-eslint/parser.md) ^0.19.1
- [eslint-plugin-jsdoc](https://npm.io/package/eslint-plugin-jsdoc.md) ^46.4.5
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.33.0
- [eslint-plugin-tsdoc](https://npm.io/package/eslint-plugin-tsdoc.md) ^0.2.17
- [eslint-plugin-compat](https://npm.io/package/eslint-plugin-compat.md) ^4.1.4
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.27.5
- [eslint-plugin-regexp](https://npm.io/package/eslint-plugin-regexp.md) ^1.15.0
- [eslint-plugin-vitest](https://npm.io/package/eslint-plugin-vitest.md) ^0.2.8
- [eslint-plugin-promise](https://npm.io/package/eslint-plugin-promise.md) ^6.1.1
- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) ^0.19.0
- [eslint-plugin-unicorn](https://npm.io/package/eslint-plugin-unicorn.md) ^48.0.1
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^6.7.1
- [eslint-plugin-security](https://npm.io/package/eslint-plugin-security.md) ^1.7.1
- [@rushstack/eslint-patch](https://npm.io/package/@rushstack/eslint-patch.md) ^1.3.2
- [eslint-plugin-react-perf](https://npm.io/package/eslint-plugin-react-perf.md) ^3.3.1
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^6.2.0
- [eslint-plugin-deprecation](https://npm.io/package/eslint-plugin-deprecation.md) ^1.5.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.6.0
- [@html-eslint/eslint-plugin](https://npm.io/package/@html-eslint/eslint-plugin.md) ^0.19.1
- [eslint-plugin-react-native](https://npm.io/package/eslint-plugin-react-native.md) ^4.0.0
- [eslint-plugin-ssr-friendly](https://npm.io/package/eslint-plugin-ssr-friendly.md) ^1.2.0
- [eslint-plugin-perfectionist](https://npm.io/package/eslint-plugin-perfectionist.md) ^1.5.1
- [eslint-plugin-react-refresh](https://npm.io/package/eslint-plugin-react-refresh.md) ^0.4.3
- [eslint-plugin-total-functions](https://npm.io/package/eslint-plugin-total-functions.md) ^7.0.7
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^6.2.0
- [eslint-import-resolver-typescript](https://npm.io/package/eslint-import-resolver-typescript.md) ^3.5.5
- [eslint-plugin-validate-jsx-nesting](https://npm.io/package/eslint-plugin-validate-jsx-nesting.md) ^0.1.1
- [@react-native-community/eslint-plugin](https://npm.io/package/@react-native-community/eslint-plugin.md) ^1.3.0
- [@regru/eslint-plugin-prefer-early-return](https://npm.io/package/@regru/eslint-plugin-prefer-early-return.md) ^1.0.0

## Recent versions

- 0.3.5 (latest) — 2023-07-28
- 0.3.4 — 2023-07-26
- 0.3.3 — 2023-07-26
- 0.3.2 — 2023-07-18
- 0.3.1 — 2023-07-18
- 0.3.0 — 2023-07-17
- 0.2.5 — 2023-03-17
- 0.2.4 — 2023-03-10
- 0.2.3 — 2023-03-07
- 0.2.2 — 2023-01-10
- 0.2.1 — 2022-10-30
- 0.2.0 — 2022-10-06
- 0.1.1 — 2022-08-29
- 0.1.0 — 2022-08-26

## README

# @lshay/eslint-config

The eslint config I use on my projects. Automatically adds TypeScript, React, and Vitest rules if they are install.

## Getting Started

Install using the package manager of your choice.

```
npm i -D eslint @lshay/eslint-config
```

```
pnpm i -D eslint @lshay/eslint-config
```

```
yarn add -D eslint @lshay/eslint-config
```

Create a file named `.eslintrc.cjs` with the following contents.

```js
const { createConfig } = require("@lshay/eslint-config")

module.exports = createConfig(
	{
		typescript: true,
		prettier: true,
		node: true,
	},
	{
		extends: ["@lshay/eslint-config"],
		parserOptions: {
			project: ["./tsconfig.json"],
			tsconfigRootDir: __dirname,
		},
	},
)
```

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