@betsys-eslint/install

3.0.0 • Public • Published

Shows an illustrated sun in light color mode and a moon with stars in dark color mode.

@betsys-eslint/install

Installer for our ESLint configurations and plugins


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

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

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

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

Package Sidebar

Install

npm i @betsys-eslint/install

Weekly Downloads

13

Version

3.0.0

License

MIT

Unpacked Size

5.92 kB

Total Files

4

Last publish

Collaborators

  • jakubschneller
  • andrejsoucek
  • flyrell