@ebot7/eslint-config-typescript
Base ESLint configuration for e-bot7 projects
Installation
It's highly recommended to also install base configuration
yarn add -D eslint @ebot7/eslint-config @ebot7/eslint-config-typescript
or
npm install -D eslint @ebot7/eslint-config @ebot7/eslint-config-typescript
Usage
In your .eslintrc.json
file (with base configuration)
{
"extends": ["@ebot7/eslint-config", "@ebot7/eslint-config-typescript"]
}
Then in package.json
you can add the following script
{
"scripts": {
+ "lint": "eslint ."
}
}
to use from command line
yarn lint
yarn lint --fix