forked from googleapis/google-cloud-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rubocop.yml
More file actions
57 lines (55 loc) · 1.39 KB
/
.rubocop.yml
File metadata and controls
57 lines (55 loc) · 1.39 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
AllCops:
Exclude:
- "acceptance/**/*"
- "integration/**/*"
- "google-cloud-error_reporting.gemspec"
- "lib/google/devtools/**/*"
- "lib/google/cloud/error_reporting/v1beta1/**/*"
- "lib/google/cloud/error_reporting/v1beta1.rb"
- "Rakefile"
- "support/**/*"
- "test/**/*"
TargetRubyVersion: 2.2
Documentation:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/MethodCallWithArgsParentheses:
Enabled: true
EnforcedStyle: omit_parentheses
AllowParenthesesInMultilineCall: true
AllowParenthesesInCamelCaseMethod: true
Style/MethodDefParentheses:
EnforcedStyle: require_no_parentheses
Style/ClassVars:
Enabled: false
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Metrics/AbcSize:
Max: 25
Metrics/BlockLength:
Exclude:
- "lib/google-cloud-error_reporting.rb"
Metrics/ClassLength:
Enabled: false
Metrics/MethodLength:
Max: 20
Exclude:
- "lib/google/cloud/error_reporting.rb"
Metrics/ParameterLists:
Enabled: false
Layout/EmptyLineAfterGuardClause:
Enabled: false
Layout/EmptyLines: # for the extra line between copyright and code
Enabled: false
Naming/FileName:
Exclude:
- "lib/google-cloud-error_reporting.rb"
Lint/RescueException:
Exclude:
- "lib/google/cloud/error_reporting/middleware.rb"
Lint/AmbiguousOperator:
Exclude:
- "lib/google/cloud/error_reporting/project.rb"