aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/.rubocop.yml
blob: 0f61ccfa812406ed193f39327cae64da241c7ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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/**/*'

Metrics/CyclomaticComplexity:
  Max: 9

Metrics/PerceivedComplexity:
  Max: 9

Metrics/ClassLength:
  Max: 250