Socket
Socket
Sign inDemoInstall

eslint-config-wzx-vue

Package Overview
Dependencies
4
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-wzx-vue

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


Version published
Maintainers
1
Install size
20.5 MB
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 06 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc