@kargotech/eslint-config-typescript-base
v0.1.4
Published
Sensible eslint configs using typescript for kargo.tech project development
Downloads
4
Readme
This is the sensible base eslint config for general typescript project at Kargo.
Usage
Installing requirements
Since our configs are extending Airbnb's, we need the following devDependencies to be imported in your project:
- eslint: ^5.16.0 || ^6.8.0 || ^7.2.0
- eslint-plugin-import: ^2.22.1
- typescript:
- @typescript-eslint/eslint-plugin: ^5.4.0,
- @typescript-eslint/parser: 5.4.0,
- typescript: ^4.5.2
Or simply:
npx install-peerdeps --dev @kargotech/eslint-config-base
npx install-peerdeps --dev @kargotech/eslint-config-typescript-baseInstalling config
If you are using npm:
npm i -D @kargotech/eslint-config-typescript-baseIf you are using yarn:
yarn add @kargotech/eslint-config-typescript-base -DAdd this config to your eslint config:
{
"extends": "@kargotech/eslint-config-typescript-base"
}