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
41 lines (39 loc) · 871 Bytes
/
.rubocop.yml
File metadata and controls
41 lines (39 loc) · 871 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
34
35
36
37
38
39
40
41
AllCops:
Exclude:
- "stackdriver-core.gemspec"
- "Rakefile"
- "test/**/*"
TargetRubyVersion: 2.2
Documentation:
Enabled: false
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/MethodDefParentheses:
EnforcedStyle: require_no_parentheses
Style/ClassVars:
Exclude:
- "lib/google/cloud/configuration.rb"
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Metrics/AbcSize:
Max: 25
Metrics/ClassLength:
Enabled: false
Metrics/MethodLength:
Max: 20
Metrics/ModuleLength:
Enabled: false
Metrics/ParameterLists:
Enabled: false
Layout/EmptyLineAfterGuardClause:
Enabled: false
Layout/EmptyLines: # for the extra line between copyright and code
Enabled: false
Naming/AccessorMethodName:
Exclude:
- "lib/stackdriver/core/async_actor.rb"
Naming/FileName:
Exclude:
- "lib/stackdriver-core.rb"