Skip to content

black-comb/eslint-plugin-blackcomb-defaults

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Default linting rules for JavaScript, TypeScript, and Angular.

Resources

License

Stars

Watchers

Forks

Packages

No packages published