Reproduction for microsoft/vscode-eslint#676
Steps to reproduce:
-
Clone this repository:
git clone https://github.com/loilo/repro-vscode-eslint-676
-
Open the cloned folder with Visual Studio Code (and the
vscode-eslintextension enabled):code repro-vscode-eslint-676
-
Take a look at the
main.jsfile and observe the incorrectly reported undefined variable. -
Note that everything works as expected when the exact same options are defined in an
.eslintrcfile. This can be verified by removing the--suffix from the the included.eslintrc--file.