Showing posts with label ESLint. Show all posts
Showing posts with label ESLint. Show all posts

Wednesday, 7 June 2023

ES Lint angular and debug error

 add eslint to angular

https://www.freecodecamp.org/news/how-to-add-eslint-to-an-angular-application/


add eslint plugin in vscode


in vscode settings.json specify eslint dir:

https://github.com/microsoft/vscode-eslint/issues/1170

{
  "eslint.workingDirectories": [
    "./part_b",
    "./part_c_patientor/frontend",
    "./part_c_patientor/backend",
    "./part_d",
  ]
}