Tag Archives: editorconfig

Using editorconfig to keep your files formatted properly

Editor config is an extension available on Visual Studio Code, Atom, Vim and many other editors, you can check a complete list on the official website.

editorconfig-stickers

It defines a set of rules that your editor follows. You can configure so that all your files, or just some matching the extension, will follow some rules as trim whitespace at the end, tabs as 2 spaces and so on.

This way your files will be consistent across your project, and allows people to contribute without making a mess in your codebase.
Continue reading