You can add the following settings to your ESLint configuration file:
{
"ignorePatterns": ["node_modules/"]
}
This tells ESLint to ignore all files and directories located in the node_modules
directory. This way, your code will not be linted and you will no longer receive errors from files in this directory.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-07-08 06:26:21 +0000
Seen: 20 times
Last updated: Jul 08 '23