Skip to content

Commit

Permalink
[tools] add more defaults to .editorconfig
Browse files Browse the repository at this point in the history
The tab default also applied to Scala files which could lead to editing
problems in IntelliJ.
  • Loading branch information
mxm committed Nov 27, 2015
1 parent f73a12e commit 7691368
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
root = true

[*]
indent_style = tab
indent_size = 4
charset = utf-8
end_of_line = lf
insert_final_newline = true

[*.{java,xml}]
indent_style = tab
indent_size = 4

[*.scala]
indent_style = space
indent_size = 2

[*.py]
indent_style = space
indent_size = 4

0 comments on commit 7691368

Please sign in to comment.