forked from googleapis/google-cloud-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
46 lines (44 loc) · 1.08 KB
/
.rubocop.yml
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
AllCops:
Exclude:
- "google-cloud-bigtable.gemspec"
- "lib/google-cloud-bigtable.rb"
- "lib/google/bigtable/**/*"
- "lib/google/cloud/bigtable.rb"
- "lib/google/cloud/bigtable/credentials.rb"
- "lib/google/cloud/bigtable/admin.rb"
- "lib/google/cloud/bigtable/admin/**/*"
- "lib/google/cloud/bigtable/v2.rb"
- "lib/google/cloud/bigtable/v2/**/*"
- "Rakefile"
- "test/**/*"
- "acceptance/**/*"
Documentation:
Enabled: true
Style/StringLiterals:
EnforcedStyle: double_quotes
Style/MethodDefParentheses:
EnforcedStyle: require_no_parentheses
Style/NumericLiterals:
Enabled: false
Style/TrivialAccessors:
Enabled: false
Metrics/LineLength:
Max: 80
IgnoredPatterns: ['(\A|\s)#']
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
Metrics/AbcSize:
Max: 25
Metrics/ClassLength:
Enabled: false
Metrics/MethodLength:
Max: 30
Metrics/ParameterLists:
Enabled: false
Layout/EmptyLines: # for the extra line between copyright and code
Enabled: false
Naming/FileName:
Exclude:
- "lib/google-cloud-bigtable.rb"