2.0.0 • Published 4 years ago

@vta/eslint-config-vue v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

@vta/eslint-config-vue

npm

An eslint config set working with @vta/eslint-config, add support for Vue project

Install

yarn add @vta/eslint-config-vue --dev

Usage

{
  "extends": ["@vta/vue"]
}

Vscode Vetur Notice

In order to use prettier,please set Script Initial Indent and Style Initial Indent to false, and format all use prettier, and disable Validation: Script.

Babel Support

If you want to use Babel to compile your code, you should firstly install @vta/eslint-config-babel, then extends @vta/babel in your .eslintrc file. additional usage please see @vta/eslint-config-babel.

yarn add @vta/eslint-config-babel --dev
{
  "extends": ["@vta/babel", "@vta/vue"]
}

NOTE: @vta/vue must list after @vta/babel

Typescript Support

If you want to use Typescript to write your code, you should firstly install @vta/eslint-config-typescript, then extends @vta/vue/typescript in your .eslintrc file. additional usage please see @vta/eslint-config-typescript.

yarn add @vta/eslint-config-typescript --dev
{
  "extends": ["@vta/typescript", "@vta/vue/typescript"]
}

NOTE: @vta/vue/typescript must list after @vta/typescript

MIT License

2.0.0

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago