Closed mattburnett-repo closed 2 years ago
Tested with and without these changes, and I can't reproduce the error, but things seem to work fine with the changes as well(tried this on a fresh install of Ubuntu after just pulling down this repo). @simonv3, wanna check this one out as well?
Using VSCode 1.71
After cloning and npm install, got problems when opening files in @types folder. Short version: [Parsing error: Cannot read file '.../tsconfig.json'.eslint] Created red squigglies in all affected files.
Not a critical problem, but definitely a distraction. Something that shouldn't be a problem.
Fixed by adding 'tsconfigRootDir: __dirname,' to 'parserOptions' block of .eslintrc.js file
More reference here -> (https://stackoverflow.com/questions/64933543/parsing-error-cannot-read-file-tsconfig-json-eslint)