Skip to content

An ESLint shareable config for my Node.js projects

License

Notifications You must be signed in to change notification settings

akai-z/node-eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js ESLint Shareable Config

This is an ESLint shareable config for my Node.js projects.

Requirements

  • Node.js 12.
  • ESLint 8.13.0 or higher.

Installation

Add the package to package.json file devDependencies.

npm

npm i --save-dev https://git@github.com/akai-z/node-eslint-config

Yarn

yarn add --dev akai-z/node-eslint-config

Usage

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"