eslint-config-wzx-vue

0.7.0 • Public • Published

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)

💿 Installation

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

💡 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.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,
]

💡 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.

🔒 License

MIT.

Package Sidebar

Install

npm i eslint-config-wzx-vue

Weekly Downloads

1

Version

0.7.0

License

MIT

Unpacked Size

17.4 kB

Total Files

7

Last publish

Collaborators

  • vicsolwang