# @siriusbeck/eslint-config

> ESLint config used by Sirius Beck, including: typescript, react, jest, prettier, etc.

Latest version **1.2.0** (published 2024-05-22) · MIT license · 0 weekly downloads

## Install

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

## 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 | 1.2.0 |
| Published | 2024-05-22 |
| First published | 2024-02-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 6.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sirius Beck |
| Maintainers | siriusbeck |
| Keywords | eslint, eslintconfig, config, siriusbeck, sirius, javascript, typescript, styleguide, es2015, es2016, es2017, es2018, es2019, es2020, es2021, prettier, eslint-plugin-prettier, next, react, eslint-plugin-react, react-hooks, eslint-plugin-react-hooks, jsx-a11y, eslint-plugin-jsx-a11y, import-helpers, eslint-plugin-import-helpers, @typescript-eslint/eslint-plugin, @typescript-eslint/eslint-parser |

## Links

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

## Dependencies (10)

- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.33.2
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.29.1
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^9.1.0
- [eslint-config-standard](https://npm.io/package/eslint-config-standard.md) ^17.1.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^6.8.0
- [@next/eslint-plugin-next](https://npm.io/package/@next/eslint-plugin-next.md) ^14.1.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^6.20.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.6.0
- [eslint-plugin-import-helpers](https://npm.io/package/eslint-plugin-import-helpers.md) ^1.3.1
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^6.20.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) — 2024-05-22
- 1.1.0 — 2024-02-06
- 1.0.3 — 2024-02-06
- 1.0.2 — 2024-02-06
- 1.0.1 — 2024-02-06
- 1.0.0 — 2024-02-05

## README

# Sirius Beck - ESLint Config

## Installation

Install the package and its peer dependencies with `npm` or your favorite package manager as dev dependencies:

```bash
npm install -D eslint@^8 prettier @siriusbeck/eslint-config
```

## How to use

### Eslint

Inside the `.eslintrc` file, extend `@siriusbeck/eslint-config`:

#### Basic

```json
{
  "extends": "@siriusbeck/eslint-config"
}
```

#### React

```json
{
  "extends": "@siriusbeck/eslint-config/react"
}
```

#### Next

```json
{
  "extends": "@siriusbeck/eslint-config/next"
}
```

### Prettier

#### Default settings

Add `@siriusbeck/eslint-config/prettier` to your `package.json` file:

```json
{
  "prettier": "@siriusbeck/eslint-config/prettier"
}
```

Or create a prettier configuration file in the project root:

```javascript
// .prettierrc.js

module.exports = require('@siriusbeck/eslint-config/prettier')
```

#### Editing the default settings

Create a prettier configuration file in the root of the project and add the code below:

```javascript
// .prettierrc.js

const defaultConfig = require('@siriusbeck/eslint-config/prettier')

/** @type {import('prettier').Config} */
module.exports = {
  ...defaultConfig
  // Add your custom config here
}
```

#### Custom settings

Just create a prettier configuration file at the root of the project.

## What's included?

- Standard config
- TypeScript (optional)
- Prettier
- React plugin + config
- React Hooks - plugin
- JSX a11y - plugin
- Import plugin
- Import Helpers plugin
- NextJs

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