diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-30 00:30:17 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-30 00:30:17 +0200 |
commit | bb456254308acbb89223544db97eb3f1dacacc90 (patch) | |
tree | 57b0b8b95522117c545062f6bf0cb2653f50b166 /.rubocop.yml | |
parent | 896269a45902f587bb722ebbd50dbf1eeee9d25b (diff) | |
download | bundler-bb456254308acbb89223544db97eb3f1dacacc90.tar.gz |
Bump rubocop to 0.68.0rubocop_0_68
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 40 |
1 files changed, 16 insertions, 24 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index 586ec9e319..01088346f3 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,3 +1,5 @@ +require: rubocop-performance + AllCops: DisabledByDefault: true TargetRubyVersion: 2.3 @@ -219,16 +221,6 @@ Lint/Void: Layout/AccessModifierIndentation: Enabled: true EnforcedStyle: outdent - Exclude: - - 'lib/bundler/cli.rb' - - 'lib/bundler/definition.rb' - - 'lib/bundler/feature_flag.rb' - - 'lib/bundler/gem_helpers.rb' - - 'lib/bundler/index.rb' - - 'lib/bundler/remote_specification.rb' - - 'lib/bundler/shared_helpers.rb' - - 'lib/bundler/source/path.rb' - - 'spec/realworld/gemfile_source_header_spec.rb' Layout/AlignArray: Enabled: true @@ -309,19 +301,19 @@ Layout/EndOfLine: Layout/ExtraSpacing: Enabled: true -Layout/FirstParameterIndentation: +Layout/IndentAssignment: Enabled: true -Layout/IndentArray: +Layout/IndentFirstArrayElement: Enabled: true EnforcedStyle: consistent -Layout/IndentAssignment: +Layout/IndentFirstHashElement: Enabled: true + EnforcedStyle: special_inside_parentheses -Layout/IndentHash: +Layout/IndentFirstArgument: Enabled: true - EnforcedStyle: special_inside_parentheses Layout/IndentationConsistency: Enabled: true @@ -464,21 +456,12 @@ Performance/EndWith: Performance/FixedSize: Enabled: true -Performance/LstripRstrip: - Enabled: true - -Performance/RedundantSortBy: - Enabled: true - Performance/RegexpMatch: Enabled: true Performance/ReverseEach: Enabled: true -Performance/Sample: - Enabled: true - Performance/Size: Enabled: true @@ -731,6 +714,9 @@ Style/RedundantParentheses: Style/RedundantSelf: Enabled: true +Style/RedundantSortBy: + Enabled: true + Style/RegexpLiteral: Enabled: true @@ -740,6 +726,9 @@ Style/RescueModifier: Style/RescueStandardError: Enabled: true +Style/Sample: + Enabled: true + Style/SelfAssignment: Enabled: true @@ -768,6 +757,9 @@ Style/StringLiteralsInInterpolation: Enabled: true EnforcedStyle: double_quotes +Style/Strip: + Enabled: true + Style/StructInheritance: Enabled: true |