Permalink
Browse files

Added .editorconfig file (#3332) (#3313)

.editorconfig: specifying preferred indentation per file-type for the project.

Closes #3332, #3313
  • Loading branch information...
1 parent 4f59653 commit 0893134543c9d95633107f7e14d433e28cafa43d @nomaed nomaed committed with floam Aug 25, 2016
Showing with 21 additions and 0 deletions.
  1. +21 −0 .editorconfig
View
@@ -0,0 +1,21 @@
+root = true
+
+[*]
+indent_size = 4
+indent_style = space
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[{Makefile,*.in}]
+indent_style = tab
+
+[*.md]
+trim_trailing_whitespace = false
+
+[*.{sh,ac}]
+indent_size = 2
+
+[Dockerfile]
+indent_size = 2

0 comments on commit 0893134

Please sign in to comment.