Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add EditorConfig file

  • Loading branch information...
commit cba0a347e33ab3ed1ab2b224b1003c12a766c581 1 parent a848e1d
@treyhunner treyhunner authored
Showing with 31 additions and 0 deletions.
  1. +31 −0 .editorconfig
View
31 .editorconfig
@@ -0,0 +1,31 @@
+# http://editorconfig.org
+
+root = true
+
+[*]
+indent_style = space
+indent_size = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+end_of_line = lf
+charset = utf-8
+
+[Makefile]
+indent_style = tab
+
+[*.{css,html,js,json}]
+indent_size = 2
+
+[*.{rst,txt}]
+indent_style = 3
+
+# South migration files don't use final newlines
+[**/migrations/*.py]
+insert_final_newline = sometimes...
+
+# Bootstrap files should not be restyled
+[**/bootstrap-3.1.1/**]
+indent_style = ignore
+indent_size = ignore
+trim_trailing_whitespace = ignore
+insert_final_newline = ignore
Please sign in to comment.
Something went wrong with that request. Please try again.