Skip to content

Commit

Permalink
Add .editorconfig file (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobec authored and ktbyers committed Dec 17, 2018
1 parent 056c50f commit b301451
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# http://editorconfig.org
#
# This file contains directions for an editor (if it supports it)
# about how to manage indents, new lines, etc
# It aids in having consistency amongst developers

root = true

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

[*.py]
max_line_length = 100

[*.json]
indent_size = 2

[*.{yml,yaml}]
indent_size = 2

# Makefiles always use tabs for indentation
[Makefile]
indent_style = tab

[*.txt]
insert_final_newline = false

0 comments on commit b301451

Please sign in to comment.