@betsys-eslint/install
v3.0.0
Published
Package installer for ESLint configurations and plugins that installs the peer dependencies of the package and the package itself.
Readme
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 typescriptInstalling 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-spacingCommand details
npx @betsys-eslint/install TYPE NAME INSTALL_DIRParameters:
- TYPE (required)
- either
configorplugin
- either
- NAME (required)
- when
TYPEisconfig, name of the config package without@betsys-eslint/eslint-config-prefix - when
TYPEisplugin, name of the plugin package without@betsys-eslint/eslint-plugin-prefix
- when
- INSTALL_DIR (optional)
- path to directory with
package.jsonfile (relative or absolute) - defaults to current directory
- path to directory with
