Skip to content
Permalink
Browse files

Adding .editorconfig file. http://editorconfig.org/

  • Loading branch information
harigopal committed Apr 16, 2015
1 parent 7bda892 commit a30575368fe5d8163135ded9abc00075cb540d97
Showing with 16 additions and 4 deletions.
  1. +13 −0 .editorconfig
  2. +3 −4 README.md
@@ -0,0 +1,13 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# The rulez. :P
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = space
indent_size = 2
@@ -68,11 +68,10 @@ Most of the documentation is still at Apiary, with new entries being added to `/

## Coding style conventions

Basic coding conventions are defined in the .editorconfig file. Download plugin for your editor of choice. http://editorconfig.org/

### General

* Tabbing - 2 spaces.
* One blank line at the end of all files.
* No trailing spaces at the end of any line.
* One blank line between discrete blocks of code.
* No more than one blank line between blocks / segments of code.

@@ -91,4 +90,4 @@ Most of the documentation is still at Apiary, with new entries being added to `/
## Web resources considered for development
* http://matthewlehner.net/rails-api-testing-guidelines/
* https://github.com/joshbuddy/jsonpath
* http://pivotallabs.com/api-versioning/
* http://pivotallabs.com/api-versioning/

0 comments on commit a305753

Please sign in to comment.
You can’t perform that action at this time.