Written by vloo

Categories: Backend, frontend, Standardization, Uncategorized

Editorconfig is a tiny file, usually located in the root of a given project, that tells your IDE/text editor¬†what indentation settings to use for the project. This ensures consistent code across all our work, so we don’t look like wild freelancers. For the .editorconfig file to work, you need an extension/plugin for your text editor of choice. It’s available for all major editors/IDEs. Here is a list of all supported editors with download links for each one.

The .editorconfig we’re using (as of apr 2017) :


# editorconfig.org

root = false

indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

indent_style = tab
indent_size = 2

end_of_line = lf