Skip to content

Commit

Permalink
Added an .editorconfig file for consistent code style
Browse files Browse the repository at this point in the history
Added an .editorconfig file to ensure editors adhere to the standards
used for JSON files. This is mostly to prevent contributors from
accidentally adding JSON indented with spaces or adding newlines to the
end of a file.
  • Loading branch information
jonkoops committed Jun 9, 2015
1 parent 272f6d0 commit f10b87a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*.json]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = false

0 comments on commit f10b87a

Please sign in to comment.