我刚刚开始了一个使用create-react-app的全新项目,并按照他们的文档推荐的设置了react-leaflet。./node_modules/@react-leaflet/core/esm/path.js 10:41File was processed with these loaders:
* ./node_modules/react-scripts/node_modules/babel-loader/lib/index
我想使用更漂亮的和eslint,但我找不到信息,如果有的话,eslint插件也作为CRA的一部分安装在哪里,也找不到基本的ESLint配置来查看其中包含了什么。如果需要,我会扩展基本的ESLint配置,但是CRA文档说它是实验性的,所以我想尽可能避免它。当ESLint作为依赖项安装时,我得到一个CRA错误: > react-scripts start
There might be a problem with the project dependency