Skip to content

Commit

Permalink
Add an .editorconfig file (#542)
Browse files Browse the repository at this point in the history
Could help to maintain consistent coding styles

What is .editorconfig:
http://editorconfig.org/#overview

Plugins for IDEs to support:
http://editorconfig.org/#download
  • Loading branch information
KindDragon authored and pjreed committed May 22, 2019
1 parent 14b4a1f commit 3253164
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100

# Use 4 spaces for the Python files
[*.py]
indent_size = 4

[*.md]
trim_trailing_whitespace = false

0 comments on commit 3253164

Please sign in to comment.