Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.24 KB

README.md

File metadata and controls

46 lines (35 loc) · 1.24 KB

eslint-config

An ESLint shareable config that I used in my projects ✔

NPM version

Install

npm install -D @hazmi35/eslint-config

or with yarn

yarn add -D @hazmi35/eslint-config

Usage

ESLint guide: link

Example:

{
	"extends": "@hazmi35/eslint-config"
}

or "@hazmi35/eslint-config/node" for Node environment

Example (TS):

{
    "extends": "@hazmi35/eslint-config/typescript"
}

or "@hazmi35/eslint-config/typescript/node" for Node environment

Note

Requires ESLint version 8.7.0 or above

TypeScript config requires: