Skip to content

Commit

Permalink
Configures new cops.
Browse files Browse the repository at this point in the history
  • Loading branch information
camilopayan authored and searls committed Dec 3, 2022
1 parent bd3991e commit 11dff94
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,9 @@ Lint/DuplicateElsifCondition:
Lint/DuplicateHashKey:
Enabled: true

Lint/DuplicateMagicComment:
Enabled: true

Lint/DuplicateMethods:
Enabled: true

Expand Down Expand Up @@ -1569,6 +1572,9 @@ Style/OneLineConditional:
Style/OpenStructUse:
Enabled: false

Style/OperatorMethodCall:
Enabled: false

Style/OptionHash:
Enabled: false

Expand Down Expand Up @@ -1639,6 +1645,9 @@ Style/RedundantCondition:
Style/RedundantConditional:
Enabled: true

Style/RedundantEach:
Enabled: false

Style/RedundantException:
Enabled: true

Expand Down Expand Up @@ -1688,6 +1697,9 @@ Style/RedundantSort:
Style/RedundantSortBy:
Enabled: true

Style/RedundantStringEscape:
Enabled: true

Style/RegexpLiteral:
Enabled: false

Expand Down

0 comments on commit 11dff94

Please sign in to comment.