Merge pull request #7 from tfennelly/editorconfig

Add .editorconfig (easier style guide compliance)
This commit is contained in:
Michael Neale 2016-02-05 12:37:36 +11:00
commit 930ca60be1
1 changed files with 44 additions and 0 deletions

44
.editorconfig Normal file
View File

@ -0,0 +1,44 @@
#
# This file tells your IDE the formatting (etc) rules for your project.
# See http://editorconfig.org/
#
# Subline Text: https://github.com/editorconfig/editorconfig-sublime
# Emacs: https://github.com/editorconfig/editorconfig-emacs
# Jetbrains (IntelliJ etc): https://github.com/editorconfig/editorconfig-jetbrains
# Eclipse: ??
#
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[**.xml]
indent_style = space
indent_size = 4
[**.jelly]
indent_style = space
indent_size = 4
[**.java]
indent_style = space
indent_size = 4
[**.hbs]
indent_style = space
indent_size = 4
[**.js]
indent_style = space
indent_size = 4
[**.css]
indent_style = space
indent_size = 4
[*.md]
trim_trailing_whitespace = false~