eslint-plugin-blackcomb-defaults
v0.1.0
Published
blackcomb eslint rules
Downloads
5
Maintainers
Readme
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