Skip to content

Commit

Permalink
[core] Add editorConfig (closes javalin#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Dos authored and tipsy committed Sep 14, 2018
1 parent e988c13 commit 7767635
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
root = true

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

[*.java,*.kt]
indent_style = space
indent_size = 4
continuation_indent_size = 4

[*.md]
trim_trailing_whitespace = false

[*.adoc]
trim_trailing_whitespace = false


[*.{js,css,html}]
indent_style = space
indent_size = 4
insert_final_newline = false

[*.yml]
indent_style = space
indent_size = 2

[*.json]
indent_style = space
indent_size = 2

[*.xml]
indent_style = space
indent_size = 4

0 comments on commit 7767635

Please sign in to comment.