eas-eslint-config-vue
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

eas-eslint-config-vue

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

安装

pnpm add -D eas-eslint-config-vue

配置.eslintrc

{
  "extends": ["eas-eslint-config-vue"]
}

添加命令

{
  "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 eas-eslint-config-vue

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

18.5 kB

Total Files

10

Last publish

Collaborators

  • jallenhou