diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-01 19:12:44 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-03-01 19:12:44 +0100 |
commit | bbb38af9407c4f932c31fbfaa10e00bee03bf10b (patch) | |
tree | 0ded0674248747d5773b7924a954baaab4c5a23e /.rubocop.yml | |
parent | 4820acf3dbea172c6ec4f165b875acbe85f095cd (diff) | |
download | bundler-bbb38af9407c4f932c31fbfaa10e00bee03bf10b.tar.gz |
Bump rubocop to 0.65.0
Fix config and regenerate TODO config.
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index a6412ecb13..7f8997dc1f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,7 +2,7 @@ inherit_from: - .rubocop_todo.yml AllCops: - TargetRubyVersion: 1.9 + TargetRubyVersion: 2.3 Exclude: - tmp/**/* - lib/bundler/vendor/**/* @@ -14,10 +14,6 @@ AllCops: Lint/AssignmentInCondition: Enabled: false -Lint/EndAlignment: - EnforcedStyleAlignWith: variable - AutoCorrect: true - Lint/UnusedMethodArgument: Enabled: false @@ -33,6 +29,10 @@ Layout/AccessModifierIndentation: Layout/AlignParameters: EnforcedStyle: with_fixed_indentation +Layout/EndAlignment: + EnforcedStyleAlignWith: variable + AutoCorrect: true + Layout/MultilineOperationIndentation: EnforcedStyle: indented @@ -74,7 +74,10 @@ Style/StringLiteralsInInterpolation: # Having these make it easier to *not* forget to add one when adding a new # value and you can simply copy the previous line. -Style/TrailingCommaInLiteral: +Style/TrailingCommaInArrayLiteral: + EnforcedStyleForMultiline: comma + +Style/TrailingCommaInHashLiteral: EnforcedStyleForMultiline: comma Style/TrailingUnderscoreVariable: |