➜ ~ create-umi reproduction
? Select the boilerplate type app
? Do you want to use typescript? No
? What functionality do you want to enable? antd, dva
➜ ~ yarn
➜ ~ yarn upgrade eslint --latest
➜ ~ yarn lint
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
What happens?
升级了eslint到latest,提示找不到依赖
最小可复现仓库
https://github.com/ybzjsxh/reproduction
复现步骤,错误日志以及相关配置
addtion
看了下
eslint-config-umi
依赖的eslint-plugin-react-hooks
版本是1.5.0而
eslint-plugin-react-hooks@1.5.0
里peerDependency依赖的是eslint@5 最新的eslint-plugin-react-hooks@2.3.0
中加入了eslint@6,我想的话是不是可以解决这个问题相关环境信息