对vue-cli项目eslint规则的冲突解决方案 #61
Labels
enhancement
New feature or request
feat
good first issue
Good for newcomers
help wanted
Extra attention is needed
如何处理vue-cli创建的项目生成的eslint配置和lint生成的eslint配置,在做配置合并的时候我建议如下操作:
肯定是先以vue-cli/winex init创建项目,然后才会使用winex lint,那么我们首先合并eslintConfig配置到.eslintrc.js
要不要删除package.json中的eslintConfig?
要不要删除"@vue/cli-plugin-eslint": "~4.5.0"插件?(此插件是vue-cli-service启动项目和build项目做eslint校验的插件)
要不要删除vue-cli默认安装的yorkie(我们现在git hook检测是采用的lint-staged)
如果以后卫宁的所有项目初始化不允许采用vue-cli,全部采用winex init,那么如上的问题都没有。
The text was updated successfully, but these errors were encountered: