안녕하세요 eslint가 정상적으로 적용되지 않아 문의드립니다
[Error - 2:12:45 PM]
Failed to load plugin 'import' declared in 'front/.eslintrc': Cannot find module 'eslint-plugin-import'
Require stack:
- /Users/^^/Documents/vscode_workspace/react-nodebird/__placeholder__.js
Happened while validating /Users/^^/Documents/vscode_workspace/react-nodebird/front/components/LoginForm.js
This can happen for a couple of reasons:
1. The plugin name is spelled incorrectly in an ESLint configuration file (e.g. .eslintrc).
2. If ESLint is installed globally, then make sure 'eslint-plugin-import' is installed globally as well.
3. If ESLint is installed locally, then 'eslint-plugin-import' isn't installed correctly.
Consider running eslint --debug /Users/^^/Documents/vscode_workspace/react-nodebird/front/components/
LoginForm.js from a terminal to obtain a trace about the configuration files used.
위와 같은 오류가 vscode에서 발생하여 .eslintrc 설정에서 plugins에 import를 주석처리하면 hooks로 변경되어 똑같은 오류가 올라옵니다 eslint 전역으로도 설치해보고 했는데 계속 그러네요 ㅠㅠ