Add EditorConfig see http://editorconfig.org/

Feel free to add the plugin to your favorite editor (if exists)