# @wezom/eslint-config

> ESLint shareable config

Latest version **12.0.0** (published 2023-10-15) · BSD-3-Clause license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 12.0.0 |
| Published | 2023-10-15 |
| First published | 2021-02-05 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 9.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Oleg Dutchenko |
| Maintainers | dutchenkooleg |
| Keywords | @wezom, code-style, eslint, eslintconfig |

## Links

- npm: https://www.npmjs.com/package/@wezom/eslint-config
- Repository: https://github.com/WezomCompany/code-style
- Homepage: https://github.com/WezomCompany/code-style/tree/main/packages/eslint-config#readme
- Issues: https://github.com/WezomCompany/code-style/issues
- npm.io page: https://npm.io/package/@wezom/eslint-config

## 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

- 12.0.0 (latest) — 2023-10-15
- 11.0.5 — 2022-10-09
- 11.0.0 — 2022-06-09
- 10.0.0 — 2022-04-20
- 9.1.0 — 2022-02-12
- 9.0.0 — 2021-12-16
- 8.0.0 — 2021-03-21
- 7.0.1 — 2021-03-19
- 3.0.0-beta.0 — 2021-02-13
- 2.1.0-beta.0 — 2021-02-09
- 2.0.0-beta.0 — 2021-02-08
- 1.0.1-beta.0 — 2021-02-06
- 1.0.0-beta.0 — 2021-02-06
- 0.6.0-beta.0 — 2021-02-06
- 0.5.0-beta.0 — 2021-02-06
- … 1 more at https://npm.io/package/@wezom/eslint-config/versions

## README

# @wezom/eslint-config

_ESLint shareable config._

## Rules

See [full list of extends with code examples](https://github.com/WezomCompany/code-style/blob/main/packages/eslint-config/RULES.md)

## Usage

> We strongly recommend using this config with Prettier together.  
> See [description](https://github.com/WezomCompany/code-style/blob/main/guidelines/tools/prettier.md).

**Install**

```bash
npm i -D eslint babel-eslint @wezom/eslint-config eslint-config-prettier
```

**Setup linter**  
_.eslintrc.json (parser babel-eslint is optional, you can use whatever you want)_

```json
{
	"extends": ["@wezom/eslint-config", "prettier"],
	"parser": "babel-eslint"
}
```

**Add npm scripts**  
_package.json_

```json
{
	"scripts": {
		"test": "npm run prettier && npm run eslint",
		"eslint": "eslint src/**/*.js",
		"eslint:autofix": "npm run eslint -- --fix",
		"prettier": "prettier src/ --check",
		"prettier:autofix": "npm run prettier -- --write"
	}
}
```

**Test your files**

```bash
npm run test
```

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