add global editorconfig

This commit is contained in:
Matthias Kretschmann 2016-11-09 20:07:44 +01:00
parent 324d503983
commit 0e3024e858
2 changed files with 14 additions and 1 deletions

View File

@ -15,7 +15,7 @@
dir=$DOTFILES_DIR
# list of files/folders to symlink in homedir
files="aliases bashrc bash_profile bash_paths bash_prompt exports gemrc gitconfig gitignore hushlogin inputrc private npmrc bin"
files="aliases bashrc bash_profile bash_paths bash_prompt editorconfig exports gemrc gitconfig gitignore hushlogin inputrc private npmrc bin"
# ----------------------------------------------------------------------

13
editorconfig Normal file
View File

@ -0,0 +1,13 @@
#
# Global EditorConfig file
# http://EditorConfig.org
#
[*]
charset = utf-8
indent_style = space
indent_size = 4
[{**.js,package.json,.travis.yml}]
indent_style = space
indent_size = 2