Last active
August 29, 2015 14:23
-
-
Save arandilopez/6359e6caa2ffdc1f1a2e to your computer and use it in GitHub Desktop.
My .editorconfig configuration
This file contains hidden or 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
# This file is for unifying the coding style for different editors and IDEs | |
# editorconfig.org | |
root = true | |
[*] | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
# Spaces in coffee | |
[**.coffee] | |
indent_style = space | |
indent_size = 2 | |
[**.js] | |
indent_style = space | |
indent_size = 2 | |
[**.json] | |
indent_style = space | |
indent_size = 2 | |
[*.yml] | |
indent_style = space | |
indent_size = 2 | |
# Tabs in less | |
[**.less] | |
indent_style = tab | |
indent_size = 2 | |
[**.scss] | |
indent_style = tab | |
indent_size = 2 | |
[**.css] | |
indent_style = tab | |
indent_size = 2 | |
[**.php] | |
indent_style = space | |
indent_size = 4 | |
# 2 spaces in ruby | |
[**.rb] | |
indent_style = space | |
indent_size = 2 | |
[**.java] | |
indent_style = space | |
indent_size = 4 | |
[**.groovy] | |
indent_style = space | |
indent_size = 4 | |
[**.scala] | |
indent_style = space | |
indent_size = 2 | |
[**.html] | |
indent_style = tab | |
indent_size = 2 | |
[**.blade.php] | |
indent_style = space | |
indent_size = 2 | |
[*.erb] | |
indent_style = space | |
indent_size = 2 | |
# 4 spaces for Markdown files | |
[*.md] | |
indent_style = space | |
indent_size = 4 | |
# Gemfile | |
[Gemfile] | |
indent_style = space | |
indent_size = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment