Skip to content

Commit

Permalink
Added .editorconfig to help set up people's editors consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremypoulter committed May 4, 2017
1 parent 96d90d2 commit 232625c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# http://editorconfig.org
root = true

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

# The JSON files contain newlines inconsistently
[*.json]
insert_final_newline = ignore

# Minified JavaScript files shouldn't be changed
[**.min.js]
indent_style = ignore
insert_final_newline = ignore

[*.md]
trim_trailing_whitespace = false

0 comments on commit 232625c

Please sign in to comment.