# @betsys-eslint/install

> Package installer for ESLint configurations and plugins that installs the peer dependencies of the package and the package itself.

Latest version **3.0.0** (published 2024-01-05) · MIT license · 0 weekly downloads

## Install

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

Provides the command `betsys`.

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2024-01-05 |
| First published | 2022-09-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >= 16 |
| Dependencies | 2 |
| Unpacked size | 5.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Betsys, s.r.o. |
| Maintainers | jakubschneller, andrejsoucek, flyrell |
| Keywords | eslint installer, eslint config installer, eslint plugin installer, betsys eslint installer, peer dependecy installer, eslint peer dependencies, auto install peer dependecies |

## Links

- npm: https://www.npmjs.com/package/@betsys-eslint/install
- Repository: https://github.com/betsys-com/betsys-eslint
- Homepage: https://github.com/betsys-com/betsys-eslint/tree/main/packages/install#readme
- Issues: https://github.com/betsys-com/betsys-eslint/issues
- npm.io page: https://npm.io/package/@betsys-eslint/install

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^5.0.1
- [resolve-package-path](https://npm.io/package/resolve-package-path.md) ^4.0.3

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

- 3.0.0 (latest) — 2024-01-05
- 3.0.0-alpha.0 — 2024-01-04
- 1.1.1 — 2022-12-20
- 1.1.0 — 2022-12-20
- 1.0.0 — 2022-09-22
- 0.5.3 — 2022-09-20
- 0.5.2 — 2022-09-20
- 0.5.1 — 2022-09-20
- 0.5.0 — 2022-09-20
- 0.4.0 — 2022-09-19
- 0.3.0 — 2022-09-18
- 0.2.0 — 2022-09-16
- 0.1.1-alpha.0 — 2022-09-16
- 0.1.0 — 2022-09-13
- 0.0.1-alpha.4 — 2022-09-08
- … 3 more at https://npm.io/package/@betsys-eslint/install/versions

## README

<p align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://user-images.githubusercontent.com/19550608/189107427-33501040-d335-4081-a339-0532a88cc5be.svg">
    <source media="(prefers-color-scheme: light)" srcset="https://user-images.githubusercontent.com/19550608/189107408-a7845b2c-1256-4489-8de5-2891b60f7b16.svg">
    <img width="200px" alt="Shows an illustrated sun in light color mode and a moon with stars in dark color mode." src="https://user-images.githubusercontent.com/19550608/189107408-a7845b2c-1256-4489-8de5-2891b60f7b16.svg">
  </picture>
</p>
<h1 align="center">@betsys-eslint/install</h1>
<p align="center">Installer for our ESLint configurations and plugins</p>

---

## Requirements
This cli tool requires Node.js v16 and later to work correctly.

## Quick Start

CLI tool will install any `@betsys-eslint` package with its peer dependencies and execute the package's `install` schematics that alters your code automatically.

### Installing ESLint configurations

```bash
npx @betsys-eslint/install config CONFIGURATION_NAME
# Note: Use CONFIGURATION_NAME without "eslint-config" prefix

# Example
npx @betsys-eslint/install config typescript
```

### Installing ESLint plugins
```bash
npx @betsys-eslint/install plugin PLUGIN_NAME
# Note: Use PLUGIN_NAME without "eslint-plugin" prefix

# Example
npx @betsys-eslint/install plugin angular-template-spacing
```

### Command details
```bash
npx @betsys-eslint/install TYPE NAME INSTALL_DIR
```

Parameters:
- TYPE (required)
  - either `config` or `plugin`
- NAME (required)
  - when `TYPE` is `config`, name of the config package without `@betsys-eslint/eslint-config-` prefix
  - when `TYPE` is `plugin`, name of the plugin package without `@betsys-eslint/eslint-plugin-` prefix
- INSTALL_DIR (optional)
  - path to directory with `package.json` file (relative or absolute)
  - defaults to current directory

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