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