Skip to content

Commit

Permalink
Use .editorconfig to set whitespace style
Browse files Browse the repository at this point in the history
instead of the local .vimrc

[ci-skip]
  • Loading branch information
rwstauner committed Jul 27, 2014
1 parent 0d498ee commit 8b3292d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .editorconfig
@@ -0,0 +1,22 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]

indent_style = space
indent_size = 4

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8

# I'd like to enable this, but we should fix all the files first to avoid diff noise.
#trim_trailing_whitespace = true
insert_final_newline = true

# There's no reason to keep this, it just seems to be the overwhelming style currently.
[*.html]
indent_size = 2
2 changes: 0 additions & 2 deletions .vimrc

This file was deleted.

0 comments on commit 8b3292d

Please sign in to comment.