Skip to content

Commit

Permalink
Enable all new RuboCop cops by default
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWayfer committed Jul 7, 2020
1 parent bb02f8e commit 4dc8cba
Showing 1 changed file with 1 addition and 30 deletions.
31 changes: 1 addition & 30 deletions .rubocop.yml
Expand Up @@ -2,15 +2,6 @@ require:
- rubocop-performance
- rubocop-rspec

Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Lint/DeprecatedOpenSSLConstant:
Enabled: true
Lint/MixedRegexpCaptureTypes:
Enabled: true

Layout/IndentationStyle:
EnforcedStyle: tabs
Layout/IndentationWidth:
Expand All @@ -21,27 +12,6 @@ Layout/ParameterAlignment:
EnforcedStyle: with_fixed_indentation
Layout/FirstArrayElementIndentation:
EnforcedStyle: consistent
Layout/SpaceAroundMethodCallOperator:
Enabled: true
Layout/EmptyLinesAroundAttributeAccessor:
Enabled: true

Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Style/ExponentialNotation:
Enabled: true
Style/SlicingWithRange:
Enabled: true
Style/RedundantFetchBlock:
Enabled: true
Style/RedundantRegexpCharacterClass:
Enabled: true
Style/RedundantRegexpEscape:
Enabled: true

RSpec/NestedGroups:
Max: 4
Expand All @@ -51,6 +21,7 @@ RSpec/DescribeClass:

AllCops:
TargetRubyVersion: 2.4
NewCops: enable

Metrics/BlockLength:
Exclude:
Expand Down

0 comments on commit 4dc8cba

Please sign in to comment.