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-eslint
extension enabled):code repro-vscode-eslint-676
-
Take a look at the
main.js
file and observe the incorrectly reported undefined variable. -
Note that everything works as expected when the exact same options are defined in an
.eslintrc
file. This can be verified by removing the--
suffix from the the included.eslintrc--
file.