Skip to content
This repository
Browse code

[#7] Improve argument list/hash format guidline

  • Loading branch information...
commit 74bd9ce6d173baf9a01c422bf20c4242205d5d2b 1 parent d2f8173
Dan Croak authored October 01, 2012 Dan Croak committed October 01, 2012

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 6  style/README.md
6  style/README.md
Source Rendered
@@ -36,8 +36,10 @@ Formatting
36 36
 * Delete trailing whitespace.
37 37
 * Don't include spaces after `(`, `[` or before `]`, `)`.
38 38
 * Don't vertically align tokens on consecutive lines.
39  
-* If you break up an argument list, keep the parenthesis on its own line.
40  
-* If you break up a hash, keep the curly braces on their own lines.
  39
+* If you break up an argument list, keep the arguments on their own lines and
  40
+  closing parenthesis on its own line.
  41
+* If you break up a hash, keep the elements on their own lines and closing curly
  42
+  brace on its own line.
41 43
 * Indent continued lines two spaces.
42 44
 * Indent private methods equal to public methods.
43 45
 * Use 2 space indentation (no tabs).

0 notes on commit 74bd9ce

Please sign in to comment.
Something went wrong with that request. Please try again.