@ubbcou/eslint-config-vue

0.5.0 • Public • Published

eslint config for vue

使用方法

安装

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

配置

// .eslintrc.js
module.exports = {
  extends: [
    '@ubbcou/vue',
  ],
}

注意

vscode 保存代码时自动修复eslint错误

  // setting
  "editor.codeActionsOnSave": {
      "source.fixAll.eslint": true
  },

Readme

Keywords

none

Package Sidebar

Install

npm i @ubbcou/eslint-config-vue

Weekly Downloads

0

Version

0.5.0

License

MIT

Unpacked Size

3.04 kB

Total Files

4

Last publish

Collaborators

  • ubbcou