7.1.1 • Published 2 years ago
@zhycorp/eslint-config v7.1.1
eslint-config
An ESLint shareable configuration that used in Zhycorp's projects ✔
Install
npm install -D @zhycorp/eslint-config
or with yarn
yarn add -D @zhycorp/eslint-config
Usage
Click here to see ESLint guide
Example:
{
"extends": "@zhycorp/eslint-config"
}
or "@zhycorp/eslint-config/node"
for Node environment
Example (TS):
{
"extends": "@zhycorp/eslint-config/typescript"
}
or "@zhycorp/eslint-config/typescript/node"
for Node environment
Note
Requires ESLint version 8.7.0 or above
TypeScript config requires:
- @typescript-eslint/parser version 5.10.0 or above
- @typescript-eslint/eslint-plugin version 5.10.0 or above
- typescript version 3.3.1 to 4.6.0