[英]ESLint configuration error at WebStorm (React project)
I have an issue while connecting ESLint airbnb configuration to my React App.我在将 ESLint airbnb 配置连接到我的 React 应用程序时遇到问题。 I have already tried to remove package-lock.json, node_modules and run a command
我已经尝试删除 package-lock.json, node_modules 并运行命令
npm install
npm安装
WebStorm says网络风暴 说
ESLint: Error: .eslintrc.json >> eslint-config-airbnb-base >> MyApplicationPath\node_modules\eslint-config-airbnb-base\rules\imports.js
My package.json has only 1 devDependency我的 package.json 只有 1 个 devDependency
"devDependencies": {
"eslint-config-airbnb": "^18.2.1"
}
Have you installed the peerDependencies?您是否安装了 peerDependencies?
eslint
and eslint-plugin-import
eslint
和eslint-plugin-import
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.