eslint-config-wzx
The custom eslint rules based on eslint-config-airbnb-base. (Support Typescript Eslint)
:cd: Installation
npm install --save-dev eslint-config-wzx
:bulb: 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
:rocket: 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,
]
:bulb: Typescript eslint needs tsconfig.json
in your project root directory.
:lock: License
MIT.