This is an ESLint shareable config for my Node.js projects.
- Node.js 12.
- ESLint 8.13.0 or higher.
Add the package to package.json
file devDependencies
.
npm i --save-dev https://git@github.com/akai-z/node-eslint-config
yarn add --dev akai-z/node-eslint-config
Extend the shareable ESLint config in your project ESLint config file.
- For JavaScript projects, extend
@akai-z/eslint-config-node/packages/javascript
module.
"extends": "@akai-z/eslint-config-node/packages/javascript"
- For TypeScript projects, extend
@akai-z/eslint-config-node/packages/typescript
module.
"extends": "@akai-z/eslint-config-node/packages/typescript"