# @zauberware/eslint-config

> A collection of eslint rules for zauberware projects.

Latest version **0.1.26** (published 2024-04-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @zauberware/eslint-config
pnpm add @zauberware/eslint-config
yarn add @zauberware/eslint-config
bun add @zauberware/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.1.26 |
| Published | 2024-04-18 |
| First published | 2020-05-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 15 |
| Unpacked size | 12.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | marcus.franzen, zauberware_owner, philippsiegmund, simonfranzen, chrkahl, floriancrusius |

## Links

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

## Dependencies (15)

- [eslint](https://npm.io/package/eslint.md) ^8.57.0
- [prettier](https://npm.io/package/prettier.md) ^3.2.5
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.24.4
- [@babel/preset-react](https://npm.io/package/@babel/preset-react.md) ^7.24.1
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.27.1
- [@babel/eslint-parser](https://npm.io/package/@babel/eslint-parser.md) ^7.24.1
- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) ^19.0.4
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.25.3
- [eslint-config-prettier](https://npm.io/package/eslint-config-prettier.md) ^9.1.0
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^6.5.1
- [eslint-plugin-prettier](https://npm.io/package/eslint-plugin-prettier.md) ^5.1.3
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^7.7.0
- [eslint-plugin-react-hooks](https://npm.io/package/eslint-plugin-react-hooks.md) ^4.3.0
- [eslint-config-airbnb-typescript](https://npm.io/package/eslint-config-airbnb-typescript.md) ^18.0.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^7.7.0

## Recent versions

- 0.1.26 (latest) — 2024-04-18
- 0.1.25 — 2024-04-17
- 0.1.24 — 2024-04-17
- 0.1.23 — 2023-07-28
- 0.1.22 — 2023-07-19
- 0.1.21 — 2023-07-19
- 0.1.19 — 2023-07-19
- 0.1.18 — 2023-02-23
- 0.1.17 — 2023-02-23
- 0.1.16 — 2021-11-09
- 0.1.15 — 2021-11-04
- 0.1.14 — 2021-11-01
- 0.1.13 — 2021-11-01
- 0.1.12 — 2021-10-20
- 0.1.11 — 2021-10-20
- … 11 more at https://npm.io/package/@zauberware/eslint-config/versions

## README

# Shared ESlint/Prettier configuration

## Requirements

Install [Prettier VSCode](https://github.com/prettier/prettier-vscode).

## Prettier

Put this into your package.json

```
"prettier": "@zauberware/eslint-config/.prettierrc.json",
```

## Install

```
npm i @zauberware/eslint-config eslint
```

## React

Create .eslintrc.js

```
module.exports = {
    extends: '@zauberware/eslint-config/react',
};
```

Create .eslintrc.js

```
module.exports = {
    extends: '@zauberware/eslint-config/react-ts',
};
```

## Node

Create .eslintrc.js

```
module.exports = {
    extends: '@zauberware/eslint-config/node',
};
```

## Troubleshooting

You always have to quit VSCode if you change eslint rules, otherwise they don't apply immediately.
See https://github.com/microsoft/vscode-eslint/issues/477.

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