From the course: Angular: Testing and Debugging

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Installing EditorConfig

Installing EditorConfig - Angular Tutorial

From the course: Angular: Testing and Debugging

Start my 1-month free trial

Installing EditorConfig

- [Instructor] EditorConfig is a tool to standardize file settings across team members and editors. This is different from static code analysis. Code lending happens at the level of the programming language. And while it can check for things like line endings and semi-colons, it's really about scanning the source code for more complex issues like missing type annotations and too many nested callbacks. You can run static code analysis on a remote server as part of an automated build workflow. You can't do that with EditorConfig. EditorConfig works at the level of the code editor, making sure all the files of a given type are encoded the same way. And this encoding happens in real time. No need to run terminal commands. You can even keep an EditorConfig file in the home directory of your computer. The same way you might keep a GetConfig file or the MRC. This means you can use one EditorConfig file for all your projects. In practice, I find most projects have their own EditorConfig file…

Contents