-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy path.rubocop.yml
46 lines (44 loc) · 917 Bytes
/
.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
inherit_gem:
google-style: google-style.yml
AllCops:
Exclude:
- "activerecord-spanner-adapter.gemspec"
- "Gemfile"
- "Rakefile"
- "bin/*"
- "test/**/*"
- "acceptance/**/*"
- "benchmarks/db/schema.rb"
- "examples/snippets/**/db/schema.rb"
- "lib/activerecord-spanner-adapter.rb"
- "vendor/**/*"
Documentation:
Enabled: false
Layout/HashAlignment:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Naming/RescuedExceptionsVariableName:
Enabled: false
Naming/MethodParameterName:
Enabled: false
Style/EmptyMethod:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
Style/NumericLiterals:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/SymbolArray:
Enabled: false
Style/WordArray:
Enabled: false
Style/RegexpLiteral:
Enabled: false
Metrics/MethodLength:
Max: 60
Metrics/BlockLength:
Max: 30