# @eleven-labs/eslint-config-typescript

> Shared ESLint config TypeScript for project

Latest version **1.2.0** (published 2023-10-26) · MIT license · 0 weekly downloads

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

## Install

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

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2023-10-26 |
| First published | 2023-07-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Eleven Labs |
| Maintainers | fpasquet |
| Keywords | eslint, lint, typescript |

## Links

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

## Dependencies (7)

- [eslint-plugin-autofix](https://npm.io/package/eslint-plugin-autofix.md) ^1.1.0
- [eslint-plugin-unicorn](https://npm.io/package/eslint-plugin-unicorn.md) ^48.0.0
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^8.8.0
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^5.0.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^6.2.0
- [eslint-plugin-perfectionist](https://npm.io/package/eslint-plugin-perfectionist.md) ^1.5.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^6.2.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

- 1.2.0 (latest) — 2023-10-26
- 1.1.0 — 2023-10-24
- 1.0.1 — 2023-08-17
- 1.0.0 — 2023-07-31

## README

# :nail_care: eslint-config-typescript
Shared ESLint configuration for TypeScript project

## Integrate into new project
 
Install this package with NPM:

```sh
npm install --save-dev @eleven-labs/eslint-config-typescript eslint prettier typescript
```

Install this package with Yarn:

```sh
yarn add -D @eleven-labs/eslint-config-typescript eslint prettier typescript
```

Use ESLint config in your project

Create a `.eslintrc` file in project root with the following content:

```json
{
  "extends": "@eleven-labs/eslint-config-typescript",
  "rules": {
    // Additional, per-project rules...
  }
}
```

Add `.prettierrc` to project:
```
{
  "singleQuote": true,
  "jsxSingleQuote": false,
  "semi": true,
  "tabWidth": 2,
  "bracketSpacing": true,
  "jsxBracketSameLine": false,
  "arrowParens": "always",
  "trailingComma": "es5",
  "printWidth": 120
}
```

And add `.editorconfig` to project:
```
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
```

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