aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/.rubocop.yml
blob: 7174f3b15af62999cfa08aa2a4302ca315d5117a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This is the configuration used to check the rubocop source code.

inherit_from: .rubocop_todo.yml

AllCops:
  Exclude:
    - 'bin/apis/**/*'
    - 'bin/math_pb.rb'
    - 'bin/math_services_pb.rb'
    - 'pb/grpc/health/v1/*'
    - 'pb/test/**/*'
    - 'end2end/lib/*'

Metrics/CyclomaticComplexity:
  Max: 9

Metrics/PerceivedComplexity:
  Max: 9

Metrics/ClassLength:
  Max: 250