0.0.8 • Published 3 years ago

@dylan66ty/eslint-config-vue v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
3 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

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.14

3 years ago