You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@netdjw I am not very familiar with ng lint. What you can try for VS Code is to set the eslint.workingDirectoies setting to angular to ensure the working directory is setting correctly.
Hello,
I run into this issue when I try to change from tslint to ESLint in VSCode with an Angular project.
The project directory structure is this:
If I open VSCode like this, I get some errors on every
.ts
files with this message:Parsing error: Cannot read file '/home/djw/code/myproject/tsconfig.json'. eslint
So I need to change the
.eslintrc.json
file like this:Now the VSCode ESLint plugin works fine.
But if I try to run
ng lint
command, I get an error:0:0 error Parsing error: Cannot read file 'angular/tsconfig.json'
Any idea how can I fix this issue?
The text was updated successfully, but these errors were encountered: