ESLint config for my TypeScript projects.
yarn add @tmware/eslint-config-typescript eslint --dev
npm i @tmware/eslint-config-typescript eslint --save-dev
To use the ESLint config, add the following to your .eslintrc
:
{
"extends": ["@tmware/eslint-config-typescript"]
}
Lint script for package.json
...
"lint": "eslint --ext .js,.ts --ignore-path .gitignore src/"
...