0.0.8 • Published 2 years ago

@dylan66ty/eslint-config-vue v0.0.8

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

@dylan66ty/eslint-config-vue

  • 合理的默认配置
  • 无需配合Prettier也能自动修复格式化
  • 支持Typescript,Vue3

安装

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

配置.eslintrc

{
  "extends": ["@dylan66ty/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
  }
}
0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.14

2 years ago