【发布时间】:2021-02-23 13:23:59
【问题描述】:
我在 .vscode 文件夹中有以下 setting.json 文件,
{
"cSpell.ignoreWords": [
"pformat"
]
}
我的 eslint 插件出现问题,在 vscode 中出现以下错误,
[Info - 13:14:45] Failed to load plugin 'react-hooks' declared in 'projectmt'/.eslintrc.json': Cannot find module 'eslint-plugin-react-hooks'
为了解决这个问题,我需要添加一些东西来指定项目中 linting 文件的路径,但我被告知但没有显示如何做到这一点。
【问题讨论】:
标签: visual-studio-code eslint vscode-settings