Permalink
Browse files

Add .editorconfig

  • Loading branch information...
jvdzwaan committed Jul 25, 2018
1 parent 8c3bede commit c7322a1442bc8ce11e12bd450f7e528fb49a0d06
Showing with 27 additions and 0 deletions.
  1. +27 −0 .editorconfig
View
@@ -0,0 +1,27 @@
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py,java,r,R,html}]
indent_style = space
# 4 space indentation
[*.{py,java,r,R}]
indent_size = 4
# 2 space indentation
[*.{js,json,yml,html}]
indent_size = 2
[*.{md,Rmd}]
trim_trailing_whitespace = false

0 comments on commit c7322a1

Please sign in to comment.