Be consistent with your hashes and arrays.
``` val = %W(hello world world) ``` ``` var = %W( hello world ) ``` ``` var = %W(hello world) ```
This commit is contained in:
parent
2a280b7f62
commit
a2623be3da
|
@ -1,5 +1,7 @@
|
||||||
Style/IndentHash: { EnforcedStyle: align_braces }
|
Style/IndentHash: { EnforcedStyle: align_braces }
|
||||||
Style/StringLiteralsInInterpolation: { EnforcedStyle: double_quotes }
|
Style/StringLiteralsInInterpolation: { EnforcedStyle: double_quotes }
|
||||||
|
Style/IndentArray: { EnforcedStyle: consistent }
|
||||||
|
Style/IndentHash: { EnforcedStyle: consistent }
|
||||||
Style/StringLiterals: { EnforcedStyle: none }
|
Style/StringLiterals: { EnforcedStyle: none }
|
||||||
Metrics/MethodLength: { Max: 24 }
|
Metrics/MethodLength: { Max: 24 }
|
||||||
Metrics/ClassLength: { Max: 240 }
|
Metrics/ClassLength: { Max: 240 }
|
||||||
|
|
Loading…
Reference in New Issue