Skip to content

Commit

Permalink
Introduce .editorconfig file with basic code formatting rules
Browse files Browse the repository at this point in the history
Many IDEs (such as IntelliJ IDEA) and editors already use the .editorconfig file if available.
For most popular editors there’s a plugin that adds EditorConfig support.

See https://editorconfig.org/ for more details.
  • Loading branch information
bwaldvogel committed Jun 14, 2021
1 parent 69c15a3 commit 6dd4373
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
insert_final_newline = true

[*.java]
indent_size = 4
indent_style = space
trim_trailing_whitespace = true

0 comments on commit 6dd4373

Please sign in to comment.