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