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

ESLint 错误报错:JSX 事件名需以 on 命名 (taro/jsx-handler-names) #229

Closed
songkeys opened this issue Jun 28, 2018 · 4 comments
Closed

Comments

@songkeys
Copy link
Contributor

songkeys commented Jun 28, 2018

想给 Button 重新包装的场景下:

同样:#145 最后「错误的事件名判断」未解决

@zacksleo
Copy link
Contributor

taro 更新到最新版 应该解决了 #216

@songkeys
Copy link
Contributor Author

升级到了 0.62。好像仍未解决。在旧项目里用了 taro upgrade project 之后,针对 eslint 还需要做什么配置吗?

@yuche
Copy link
Contributor

yuche commented Jun 29, 2018

不需要,去看看 node_moduleseslint-plugin-taro 安装的是什么版本。
#216 应该修复你这个问题。

@songkeys
Copy link
Contributor Author

非常感谢。刚才重启了一下 IDE,解决了……应该是缓存的问题。可以关闭啦。谢谢🙏

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

3 participants