This package has been deprecated

Author message:

This package has been deprecated. Please use https://www.npmjs.com/package/@jsxiaosi/eslint-config

@jsxiaosi/eslint-config-vue

1.0.2 • Public • Published

@jsxiaosi/eslint-config-vue(弃用)

[!CAUTION] @jsxiaosi/eslint-config-vue 已经被弃用,请使用@jsxiaosi/eslint-config

  • 合理的默认配置
  • 无需配合Prettier也能自动修复格式化
  • 使用简单无需繁琐的添加配置
  • 支持Typescript,Vue3

安装

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

配置eslint.config

import jsxiaosiConfig from "@jsxiaosi/eslint-config-vue"

export default [
  ...jsxiaosiConfig,

  // {...}  you config
]

添加命令

{
  "lint:fix": "eslint . --fix",
  "type:check": "vue-tsc --noEmit --skipLibCheck",
}

集成vue-tsc

  • 安装
pnpm add -D vue-tsc
  • 添加命令
{
  "type:check": "vue-tsc --noEmit --skipLibCheck",
}

VS Code 自动修复

{
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  }
}

Readme

Keywords

Package Sidebar

Install

npm i @jsxiaosi/eslint-config-vue

Weekly Downloads

5

Version

1.0.2

License

MIT

Unpacked Size

6.07 kB

Total Files

4

Last publish

Collaborators

  • jsxiaosi