1.0.6 • Published 4 years ago

@takamaki-group/eslint-config-takamaki v1.0.6

Weekly downloads
38
License
ISC
Repository
github
Last release
4 years ago

Why?

The purpose of this repository is to share eslint configs between Takamäki projects. This way we can write uniform code, and it also makes setting up rules for new projects faster.

Installation

  1. run "npm i @takamaki-group/eslint-config-takamaki --save-dev"
  2. Install peer dependencies listed in package.json
  3. Add "extends": "@takamaki-group/eslint-config-takamaki" to your .eslint config

Overwriting rules

If you want to overwrite a rule you don't like in your project, just define the same rule in your projects own eslint configuration.

Typescript

You should use ESlint with TypeScript as TSLint was deprecated in 2019.

To use this config with Typescript add the following to your eslint config:

'extends': 'plugin:@typescript-eslint/eslint-recommended', "plugin:@typescript-eslint/recommended" ,

Then install this package: https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin