0.0.8 • Published 10 months ago

@dylan66ty/eslint-config-vue v0.0.8

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

10 months ago

0.0.7

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.14

11 months ago