Skip to content

Commit

Permalink
Be consistent with your hashes and arrays.
Browse files Browse the repository at this point in the history
```
val = %W(hello world
                 world)
```

```
var = %W(
  hello
  world
)
```

```
var = %W(hello world)
```
  • Loading branch information
envygeeks committed Jan 3, 2016
1 parent 2a280b7 commit a2623be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Style/IndentHash: { EnforcedStyle: align_braces }
Style/StringLiteralsInInterpolation: { EnforcedStyle: double_quotes }
Style/IndentArray: { EnforcedStyle: consistent }
Style/IndentHash: { EnforcedStyle: consistent }
Style/StringLiterals: { EnforcedStyle: none }
Metrics/MethodLength: { Max: 24 }
Metrics/ClassLength: { Max: 240 }
Expand Down

0 comments on commit a2623be

Please sign in to comment.