re: RuboCop - Align the elements of a hash literal if they span more than one line.

This commit is contained in:
Alexey Dubovskoy 2016-06-20 21:01:18 +01:00
parent 13015680a7
commit 8a2beacb6f
2 changed files with 16 additions and 24 deletions

View File

@ -11,14 +11,6 @@ Lint/HandleExceptions:
Exclude:
- 'Rakefile'
# Offense count: 16
# Cop supports --auto-correct.
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
Style/AlignHash:
Exclude:
- 'test/action_controller/json_api/pagination_test.rb'
# Offense count: 271
# Configuration parameters: EnforcedStyle, SupportedStyles.