I'm using Visual Studio Code with the vscode-eslint extension but I'm getting warnings for the webpack.config.js file itself, as shown below.

How can I disable the eslint verification for this file specifically and in my own workspace (that is, without adding an .eslintignore file to the repo that would affect other devs)?
Add these lines to the VSCode settings.json:
"eslint.options": {
"ignorePattern": "webpack.config.js",
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With