Skip to content

Commit

Permalink
update dotfiles, try to prevent trailing whitespace from being trimme…
Browse files Browse the repository at this point in the history
…d in markdown files, since it messes up formatting
  • Loading branch information
jonschlinkert committed May 13, 2013
1 parent 9a65479 commit 91e36fa
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
14 changes: 11 additions & 3 deletions .editorconfig
@@ -1,10 +1,18 @@
# editorconfig.org
; EditorConfig is awesome: http://EditorConfig.org

; top-most EditorConfig file
root = true

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

; Dont remove trailing whitespace from markdown
; files since it messes up newlines
[*.md]
trim_trailing_whitespace = false
insert_final_newline = true
3 changes: 1 addition & 2 deletions .gitignore
@@ -1,5 +1,4 @@
.npmignore
/node_modules/
node_modules
*.sublime-project
*.sublime-workspace

Expand Down

0 comments on commit 91e36fa

Please sign in to comment.