src/ruby/.rubocop.yml
raw| 1 | # This is the configuration used to check the rubocop source code. |
| 2 | |
| 3 | inherit_from: .rubocop_todo.yml |
| 4 | |
| 5 | AllCops: |
| 6 | Exclude: |
| 7 | - 'bin/apis/**/*' |
| 8 | - 'bin/math_pb.rb' |
| 9 | - 'bin/math_services_pb.rb' |
| 10 | - 'pb/grpc/health/v1/*' |
| 11 | - 'pb/test/**/*' |
| 12 | - 'end2end/lib/*' |
| 13 | |
| 14 | Metrics/CyclomaticComplexity: |
| 15 | Max: 9 |
| 16 | |
| 17 | Metrics/PerceivedComplexity: |
| 18 | Max: 9 |
| 19 | |
| 20 | Metrics/ClassLength: |
| 21 | Max: 250 |