Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对vue-cli项目eslint规则的冲突解决方案 #61

Open
GGwujun opened this issue Jun 3, 2021 · 1 comment
Open

对vue-cli项目eslint规则的冲突解决方案 #61

GGwujun opened this issue Jun 3, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request feat good first issue Good for newcomers help wanted Extra attention is needed

Comments

@GGwujun
Copy link
Collaborator

GGwujun commented Jun 3, 2021

如何处理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,那么如上的问题都没有。

@GGwujun GGwujun added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed feat labels Jun 3, 2021
@GGwujun GGwujun self-assigned this Jun 3, 2021
@github-actions
Copy link

github-actions bot commented Jun 3, 2021

Hello @GGwujun. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please be sure to fill in the default template in the Pull Request, provide changelog/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!
你好 @GGwujun,我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feat good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant