Skip to content

Commit

Permalink
Enable support for cops introduced by 0.85
Browse files Browse the repository at this point in the history
Namely:

- `Lint/MixedRegexpCaptureTypes`
- `Style/RedundantRegexpCharacterClass` (disabled by default due to
  rubocop/rubocop#8098)
- `Style/RedundantRegexpEscape`
  • Loading branch information
ivgiuliani committed Jun 10, 2020
1 parent 55dc60e commit 921f80b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions rubocop.yml
Expand Up @@ -24,6 +24,9 @@ Lint/RaiseException:
Lint/StructNewOverride:
Enabled: true

Lint/MixedRegexpCaptureTypes:
Enabled: true

Metrics/ClassLength:
Enabled: false

Expand Down Expand Up @@ -171,5 +174,13 @@ Style/ExponentialNotation:
Style/SlicingWithRange:
Enabled: true

# Re-enable this when the following is resolved:
# https://github.com/rubocop-hq/rubocop/issues/8098
Style/RedundantRegexpCharacterClass:
Enabled: false

Style/RedundantRegexpEscape:
Enabled: true

Lint/DeprecatedOpenSSLConstant:
Enabled: true

0 comments on commit 921f80b

Please sign in to comment.