Skip to content

The custom eslint rules based on eslint-config-airbnb-base. (Support Typescript Eslint)

License

Notifications You must be signed in to change notification settings

VicSolWang/eslint-config-wzx

Repository files navigation

eslint-config-wzx

NPM version node Code Style GitHub Workflow Status (branch) release codecov NPM downloads

The custom eslint rules based on eslint-config-airbnb-base. (Support Typescript Eslint)

💿 Installation

npm install --save-dev eslint-config-wzx

💡 Typescript eslint needs to install typescript, @typescript-eslint/parser, @typescript-eslint/eslint-plugin.

npm install --save-dev typescript @typescript-eslint/parser @typescript-eslint/eslint-plugin

🚀 Usage

Starting from v0.8.x, we will use the new flat eslint config. Add eslint-config-wzx in your eslint.config.js.

import wzx from 'eslint-config-wzx';

export default [
  ...wzx,
]

💡 Typescript eslint needs tsconfig.json in your project root directory.

🔒 License

MIT.