mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Disable unhelpful RuboCop rule
RuboCop's `Lint/AmbiguousBlockAssociation` rule forbids this construct: ```ruby set :foo, -> { "bar" } ``` It apparently wants: ```ruby set(:foo, -> { "bar" }) ``` This goes against the grain of Capistrano's DSL, so disable it.
This commit is contained in:
parent
b6c812ae7a
commit
0a0a6c082e
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ AllCops:
|
|||
DisplayStyleGuide: true
|
||||
TargetRubyVersion: 2.0
|
||||
|
||||
Lint/AmbiguousBlockAssociation:
|
||||
Enabled:
|
||||
false
|
||||
Metrics/BlockLength:
|
||||
Exclude:
|
||||
- "spec/**/*"
|
||||
|
|
Loading…
Reference in a new issue