Skip to content

Commit

Permalink
Enable new cops
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Jun 12, 2020
1 parent fc9fdac commit 54a0ef9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,34 @@ Metrics/BlockLength:
Style/NumericLiteralPrefix:
EnforcedOctalStyle: zero_only

# Enable new cops
Layout/EmptyLinesAroundAttributeAccessor:
Enabled: true
Layout/SpaceAroundMethodCallOperator:
Enabled: true
Lint/DeprecatedOpenSSLConstant:
Enabled: true
Lint/MixedRegexpCaptureTypes:
Enabled: true
Lint/RaiseException:
Enabled: true
Lint/StructNewOverride:
Enabled: true
Style/ExponentialNotation:
Enabled: true
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true
Style/RedundantRegexpCharacterClass:
Enabled: true
Style/RedundantRegexpEscape:
Enabled: true
Style/SlicingWithRange:
Enabled: true

## Cucumber Repo styles (Across implementations) ##

Layout/LineLength:
Expand Down

0 comments on commit 54a0ef9

Please sign in to comment.