左小白的技术日常
Github

import 出现黄色警告提示,ESLint is disabled since its execution has not been approved

这篇文章发布于 2021/04/03,归类于
标签:
ESLint 授权弹窗eslint auth dialog

在有 ESLint 的项目中,发现 import 都出现了黄色警告,提示 ESLint is disabled since its execution has not been approved or denied yet. Use the light bulb menu to open the approval dialog.eslint

eslint-import-warn.png

这是因为初次打开项目,没有 eslint 授权产生的错误提示。点击 vscode 开发工具右下角的 ESLint 就会弹出授权窗口,点击允许即可。

eslint-vscode-auth.png

eslint-vscode-auth2.png