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.
- run "npm i @takamaki-group/eslint-config-takamaki --save-dev"
- Install peer dependencies listed in package.json
- Add "extends": "@takamaki-group/eslint-config-takamaki" to your .eslint config
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.
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:
Then install this package: https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin