Index: third_party/grpc/src/ruby/.rubocop.yml |
diff --git a/third_party/grpc/src/ruby/.rubocop.yml b/third_party/grpc/src/ruby/.rubocop.yml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d13ce4265537732de5770455009f6008dc43c4e8 |
--- /dev/null |
+++ b/third_party/grpc/src/ruby/.rubocop.yml |
@@ -0,0 +1,20 @@ |
+# This is the configuration used to check the rubocop source code. |
+ |
+inherit_from: .rubocop_todo.yml |
+ |
+AllCops: |
+ Exclude: |
+ - 'bin/apis/**/*' |
+ - 'bin/math.rb' |
+ - 'bin/math_services.rb' |
+ - 'pb/grpc/health/v1/*' |
+ - 'pb/test/**/*' |
+ |
+Metrics/CyclomaticComplexity: |
+ Max: 8 |
+ |
+Metrics/PerceivedComplexity: |
+ Max: 8 |
+ |
+Metrics/ClassLength: |
+ Max: 250 |