# @taktikal/eslint-config

> Eslint config for Taktikal TypeScript and React projects.

Latest version **2.1.0** (published 2021-11-30) · ISC license · 0 weekly downloads

## Install

```sh
npm install @taktikal/eslint-config
pnpm add @taktikal/eslint-config
yarn add @taktikal/eslint-config
bun add @taktikal/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 | 2.1.0 |
| Published | 2021-11-30 |
| First published | 2019-07-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Unpacked size | 6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alex Harri Jónsson |
| Maintainers | alexharri, bjark |

## Links

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

## Dependencies (13)

- [eslint](https://npm.io/package/eslint.md) ^8.3.0
- [babel-eslint](https://npm.io/package/babel-eslint.md) ^10.1.0
- [eslint-plugin-jest](https://npm.io/package/eslint-plugin-jest.md) ^25.3.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.27.1
- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) ^19.0.1
- [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) ^8.3.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) ^4.0.0
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^5.4.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) ^16.0.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^5.4.0

## Recent versions

- 2.1.0 (latest) — 2021-11-30
- 2.0.4 — 2021-11-30
- 2.0.3 — 2021-11-30
- 2.0.2 — 2021-11-25
- 2.0.1 — 2021-11-24
- 2.0.0 — 2021-11-24
- 1.0.5 — 2020-09-04
- 1.0.4 — 2020-02-11
- 1.0.3 — 2019-11-18
- 1.0.2 — 2019-07-23
- 1.0.1 — 2019-07-23

## README

# @taktikal/eslint-config

Eslint + Prettier config for TypeScript and React projects.

## Install

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

## Add eslint config

Eslint will automatically interpret `@taktikal` as `@taktikal/eslint-config`.

```json
{
  "extends": "@taktikal"
}
```

## Add Prettier config

Add this line to your `package.json`:

```json
{
  "prettier": "@taktikal/eslint-config/prettier"
}
```

## Format on save (VSCode)

### Install VSCode Prettier plugin

First you need to install the [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) plugin for VSCode.

https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

### Modify VSCode settings

In your `.vscode/settings.json` file, add the following:

```json
{
  "eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
  "editor.formatOnSave": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode"
}
```

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