Skip to content

Commit

Permalink
Update rubocop configs to remove warnings from v0.85.
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlakshya committed Jun 2, 2020
1 parent 92cdc5e commit 6694eda
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,30 @@ Layout/LineLength:
IgnoredPatterns:
- '\s+# rubocop:disable'

Layout/EmptyLinesAroundAttributeAccessor:
Enabled: true

Layout/SpaceAroundOperators:
Enabled: true

Layout/SpaceAroundMethodCallOperator:
Enabled: true

Lint/DeprecatedOpenSSLConstant:
Enabled: true

Lint/RaiseException:
Enabled: true

Lint/StructNewOverride:
Enabled: true

Lint/MixedRegexpCaptureTypes:
Enabled: true

Lint/ScriptPermission:
Enabled: false

Metrics/MethodLength:
Max: 20

Expand All @@ -41,6 +65,30 @@ Metrics/AbcSize:
Style/Documentation:
Enabled: false

Style/FrozenStringLiteralComment:
Enabled: false

Style/ExponentialNotation:
Enabled: false

Style/HashEachMethods:
Enabled: true

Style/HashTransformKeys:
Enabled: false

Style/HashTransformValues:
Enabled: false

Style/SlicingWithRange:
Enabled: false

Style/RedundantRegexpCharacterClass:
Enabled: true

Style/RedundantRegexpEscape:
Enabled: false

RSpec/ExampleLength:
Enabled: false

Expand Down

0 comments on commit 6694eda

Please sign in to comment.