1.0.7 • Published 2 years ago

@cyw666/eslint-config-vue v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@cyw666/eslint-config-vue

Usage

Install

Using pnpm

pnpm add -D eslint @cyw666/eslint-config-vue

Using npm

npm install -D eslint @cyw666/eslint-config-vue

Using yarn

yarn add -D eslint @cyw666/eslint-config-vue

Config .eslintrc

{
  // ...
  "extends": ["@cyw666/eslint-config-vue"]
}

For TypeScript projects, use @cyw666/eslint-config-vue/typescript.

{
  // ...
  "extends": ["@cyw666/eslint-config-vue/typescript"]
}

TypeScript users will also need a tsconfig.json file in their project. An empty object ({}) will do if this is a new project.