Tuesday, 21 March 2023

angular/vs code , formatter and es lint

 VS Code settings.json


file -> preferences ->settings -> top right corner open settings.json. settings.json includes formatting or using formatter (pointintg where it is can be eslint. and eslint-plugin prettier.json)

settings.json should be workspace based it will overwrite user based. make it empty if u dont want user



angular linting :

es-lint (linting rules, show error prevents compiling like tsconfig.json)

es-lint -plugin - prettier uses to format and used by above


tsconfig.json additonal strict typing check (angular default)

No comments:

Post a Comment