eslint-config-wzx-vue

The custom vue eslint rules based on eslint-config-wzx. (Follow airbnb-base and Support Typescript Eslint)
2,291 1
Install
npm install eslint-config-wzx-vue
Latest Version:0.7.0
Vue:3
Older releases:2
License:MIT
Last Updated:Sep 3, 2024
Links: GitHub  ·  npm
Maintainer: vicsolwang

eslint-config-wzx-vue

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

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

:cd: Installation

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

: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.5.x, we will use the new flat eslint config. Add eslint-config-wzx-vue in your eslint.config.js.

import wzxVue from 'eslint-config-wzx-vue';

export default [
  ...wzxVue,
]

:bulb: Typescript eslint needs tsconfig.json in your project root directory. And the config will select the rules of vue2 or vue3 according to the vue version installed in your project.

:lock: License

MIT.

Related Packages

Version History

Version Released Vue License
0.7.0 ^3.3.10 MIT
0.6.4 ^3.3.10 MIT
0.6.3 ^3.3.9 MIT
0.6.2 ^3.3.8 MIT
0.6.1 ^3.3.8 MIT