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
62 lines (60 loc) · 1.36 KB
/
.rubocop.yml
File metadata and controls
62 lines (60 loc) · 1.36 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
58
59
60
61
62
AllCops:
Exclude:
- "acceptance/**/*"
- "integration/**/*"
- "google-cloud-trace.gemspec"
- "lib/google/devtools/**/*"
- "lib/google/cloud/trace/v1/**/*"
- "lib/google/cloud/trace/v1.rb"
- "lib/google/cloud/trace/v2/**/*"
- "lib/google/cloud/trace/v2.rb"
- "Rakefile"
- "support/**/*"
- "test/**/*"
TargetRubyVersion: 2.2
Documentation:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/MethodDefParentheses:
EnforcedStyle: require_no_parentheses
Style/HashSyntax:
Exclude:
- "lib/google/cloud/trace/v1/**/*"
Style/NumericLiterals:
Enabled: false
Style/ClassVars:
Enabled: false
Style/TrivialAccessors:
Enabled: false
Style/CaseEquality:
Enabled: false
Style/GuardClause:
Enabled: false
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Metrics/AbcSize:
Max: 25
Metrics/ClassLength:
Enabled: false
Metrics/MethodLength:
Max: 20
Exclude:
- "lib/google/cloud/trace/v1/**/*"
Metrics/LineLength:
Exclude:
- "lib/google/cloud/trace/v1/**/*"
Metrics/ParameterLists:
Enabled: false
Lint/RescueException:
Exclude:
- "lib/google/cloud/trace/rails.rb"
Layout/EmptyLineAfterGuardClause:
Enabled: false
Layout/EmptyLines: # for the extra line between copyright and code
Enabled: false
Naming/FileName:
Exclude:
- "lib/google-cloud-trace.rb"