# @genkit/eslint-config

> ESLint config

Latest version **0.0.9** (published 2023-08-18) · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.9 |
| Published | 2023-08-18 |
| First published | 2023-07-27 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 11 |
| Unpacked size | 96.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | thetyin |
| Keywords | eslint, eslintconfig, eslint-config, formatter |

## Links

- npm: https://www.npmjs.com/package/@genkit/eslint-config
- npm.io page: https://npm.io/package/@genkit/eslint-config

## Dependencies (11)

- [eslint](https://npm.io/package/eslint.md) ^8.47.0
- [typescript](https://npm.io/package/typescript.md) ^5.1.6
- [eslint-plugin-yml](https://npm.io/package/eslint-plugin-yml.md) ^1.8.0
- [eslint-plugin-html](https://npm.io/package/eslint-plugin-html.md) ^7.1.0
- [eslint-plugin-toml](https://npm.io/package/eslint-plugin-toml.md) ^0.5.0
- [eslint-plugin-jsonc](https://npm.io/package/eslint-plugin-jsonc.md) ^2.9.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.28.0
- [eslint-plugin-unicorn](https://npm.io/package/eslint-plugin-unicorn.md) ^48.0.1
- [eslint-plugin-markdown](https://npm.io/package/eslint-plugin-markdown.md) ^3.0.1
- [@typescript-eslint/parser](https://npm.io/package/@typescript-eslint/parser.md) ^6.4.0
- [@typescript-eslint/eslint-plugin](https://npm.io/package/@typescript-eslint/eslint-plugin.md) ^6.4.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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.0.9 (latest) — 2023-08-18
- 0.0.8 — 2023-08-04
- 0.0.7 — 2023-07-29
- 0.0.6 — 2023-07-29
- 0.0.2 — 2023-07-27
- 0.0.1 — 2023-07-27

## README

# @genkit/eslint-config

Double Quote, Semi and other best practices.

## Install

```bash
# pnpm
pnpm add -D @genkit/eslint-config

# yarn
yarn add -D @genkit/eslint-config

# npm
npm install -D @genkit/eslint-config
```

## Usage

`.eslintrc.json`
```json
{
  "$schema": "https://json.schemastore.org/eslintrc",
  "root": true,
  "extends": "@genkit/eslint-config"
}
```

`package.json`
```json
{
  "scripts": {
    "lint": "eslint --ext .js,.cjs,.mjs,.jsx,.ts,.cts,.mts,.tsx,.vue,.html,.json,.jsonc,.json5,.yml,.yaml,.toml ."
  }
}
```

#### VSCode
If you are using [Visual Studio Code](https://code.visualstudio.com/) it is recommanded to install [eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) and [editorconfig](https://marketplace.visualstudio.com/items?itemName=editorconfig.editorconfig) extensions.

`.vscode/settings.json`
```json
{
  "prettier.enable": false,
  "editor.defaultFormatter": null,
  "editor.formatOnSave": false,
  "editor.formatOnPaste": false,
  "editor.codeActionsOnSave": {
    "source.fixAll": false,
    "source.fixAll.eslint": true,
    "source.organizeImports": false
  },
  "eslint.validate": [
    "javascript",
    "typescript",
    "javascriptreact",
    "typescriptreact",
    "vue",
    "html",
    "json",
    "jsonc",
    "json5",
    "yaml",
    "yml",
    "toml",
    "markdown"
  ]
}
```

`.editorconfig`
```ini
root = true

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

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