Skip to content

Commit

Permalink
add .editorconfig to minize whitespace diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu HAYS committed Oct 18, 2016
1 parent e1e1f49 commit c0e3c65
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# http://editorconfig.org

root = true

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

[*.md]
trim_trailing_whitespace = false

[{package.json,.travis.yml}]
; The indent size used in the `package.json` file cannot be changed
; https://github.com/npm/npm/pull/3180#issuecomment-16336516
indent_size = 2
indent_style = space

0 comments on commit c0e3c65

Please sign in to comment.