Last active
February 13, 2016 05:12
-
-
Save rchacon/aa4afd227f49e1142f49 to your computer and use it in GitHub Desktop.
Create .editorconfig in current directory. Add sym link to script: `ln -s <path to editorconfig script> /usr/local/bin/editorconfig`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EditorConfig is awesome: http://EditorConfig.org | |
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
indent_style = space | |
# Set default charset | |
[*.{js,py}] | |
charset = utf-8 | |
# 4 space indentation | |
[*.{php,py}] | |
indent_size = 4 | |
# 2 space indentation | |
[*.{css,html,js,json,sh,yml,yaml}] | |
indent_size = 2 | |
# Tab indentation (no size specified) | |
[Makefile] | |
indent_style = tab | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment