Skip to content

Commit

Permalink
chore: update rubocop configs
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshoku committed Jun 12, 2022
1 parent b2442db commit f2847d5
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,22 @@ Gemspec/RequiredRubyVersion:
Layout/LineLength:
AllowedPatterns: ['(\A|\s)#']

Lint/AmbiguousOperatorPrecedence:
Enabled: false

Metrics/AbcSize:
Max: 20

Metrics/BlockLength:
Exclude:
- 'spec/**/*'

Metrics/CyclomaticComplexity:
Max: 8

Metrics/MethodLength:
Max: 24

Metrics/ParameterLists:
Max: 8

Expand All @@ -40,7 +52,7 @@ RSpec/ExampleLength:
Max: 16

RSpec/MultipleMemoizedHelpers:
Max: 8
Max: 16

RSpec/NamedSubject:
Enabled: false
Expand Down

0 comments on commit f2847d5

Please sign in to comment.