forked from GoogleCloudPlatform/functions-framework-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
33 lines (31 loc) · 654 Bytes
/
.rubocop.yml
File metadata and controls
33 lines (31 loc) · 654 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
inherit_gem:
google-style: google-style.yml
AllCops:
Include:
- "examples/**/.toys.rb"
- "**/*.rb"
- "**/Gemfile"
- "*.gemspec"
Exclude:
- "**/vendor/bundle/**/*"
- "examples/*/vendor/**/*.rb"
Lint/ConstantDefinitionInBlock:
Exclude:
- "test/**/test_*.rb"
Metrics/BlockLength:
Exclude:
- "test/**/test_*.rb"
- "examples/**/.toys.rb"
- "examples/**/test/test_*.rb"
- "functions_framework.gemspec"
Metrics/ClassLength:
Max: 200
Metrics/ModuleLength:
Max: 200
Naming/FileName:
Exclude:
- "examples/*/Gemfile"
- ".toys/**/*.rb"
Style/BlockDelimiters:
Exclude:
- "test/**/test_*.rb"