Skip to content

Commit

Permalink
Add editorconfig with 4 spaces in general and 2 spaces in xml
Browse files Browse the repository at this point in the history
This is how it is described in the readme
  • Loading branch information
derTobsch authored and marcelmay committed Aug 30, 2020
1 parent e988c60 commit 0dc3e53
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# EditorConfig helps developers define and maintain
# consistent coding styles between different editors and IDEs.

root = true

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

[*.xml]
indent_size = 2

[*.md]
trim_trailing_whitespace = false

0 comments on commit 0dc3e53

Please sign in to comment.