Skip to content

Commit

Permalink
add .editorconfig to standardise formatting http://editorconfig.org
Browse files Browse the repository at this point in the history
supported by most major IDEs
  • Loading branch information
Lance Reid committed Oct 26, 2017
1 parent a1e3120 commit 83721a9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Based on: http://editorconfig.org/#example-file

root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

[*]
charset = utf-8

# 4 space indentation
[*.{java,xml,xsd}]
indent_style = space
indent_size = 4

# 2 space indentation
[*.{js,css,html}]
indent_style = space
indent_size = 2

0 comments on commit 83721a9

Please sign in to comment.