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

lint插件化机制提个建议 #1475

Closed
younth opened this issue Nov 19, 2018 · 5 comments
Closed

lint插件化机制提个建议 #1475

younth opened this issue Nov 19, 2018 · 5 comments

Comments

@younth
Copy link

younth commented Nov 19, 2018

之前是 @ali/def 的重度使用者,最近用 umi 开发一个项目,感觉很nice。希望把默认把 .eslintrc 干掉把,用 umi lint src这种形式提供下支持。另外 vue要是能支持该多美好

@younth
Copy link
Author

younth commented Nov 19, 2018

另外。是不是可以在支持 mock跟proxy能同时运行,有这种需求,部分数据走mock部分走proxy

@younth younth changed the title lint插件化机制提个小建议 lint插件化机制提个建议 Nov 19, 2018
@xiaohuoni
Copy link
Member

mock和proxy现在是支持同时的使用的吧?
vue的话,https://github.com/umijs/umi-plugin-vue 现在有一个这个。
当前版本的.eslintrc应该是没有的吧,下个版本要加回来。#1365

@yutingzhao1991
Copy link
Contributor

lint 这个在内部 bigfish(基于 umi) 是有这样的功能的,可以了解下看看。之前还有考虑要不要把 lint 这块给开源。

@sorrycc
Copy link
Member

sorrycc commented Nov 20, 2018

.eslintrc 干掉编辑器里怎么工作?

@younth
Copy link
Author

younth commented Nov 20, 2018

@xiaohuoni 刚试了下,mock跟proxy可以同时。mock优先,没问题了。。

@sorrycc sorrycc closed this as completed Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants