eslint-plugin-blackcomb-defaults

0.1.0 • Public • Published

eslint-plugin-blackcomb-defaults

blackcomb eslint rules

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-blackcomb-defaults and required dependencies:

npm install eslint-plugin-blackcomb-defaults eslint-plugin-import eslint-plugin-import-newlines --save-dev

When using the typescript config, you will also need to install:

npm install @typescript-eslint/eslint-plugin eslint-import-resolver-typescript eslint-plugin-deprecation --save-dev

When using the angular config, you will also need to install:

npm install @angular-eslint/eslint-plugin @angular-eslint/eslint-plugin-template @angular-eslint/template-parser --save-dev

Usage

Add the desired blackcomb-defaults configuration to the extends property of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "extends": ["plugin:blackcomb-defaults/typescript"]
}

The following configurations are available:

  • javascript
  • typescript
  • angular

Package Sidebar

Install

npm i eslint-plugin-blackcomb-defaults

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

13.4 kB

Total Files

9

Last publish

Collaborators

  • blackcomb