Skip to content

Commit

Permalink
Add .editorconfig to (hopefully) prevent common stylistic problems
Browse files Browse the repository at this point in the history
The editorconfig file is respected by multiple editors by default, and more when using plugins.

The config should ensure consistent newlines, indents, etc.
  • Loading branch information
himdel committed Jan 6, 2017
1 parent 1e847e3 commit d0c5d0d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# editorconfig.org

root = true

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

[*.md]
trim_trailing_whitespace = false
max_line_length = off

0 comments on commit d0c5d0d

Please sign in to comment.