-
Notifications
You must be signed in to change notification settings - Fork 25
/
.rubocop.yml
86 lines (67 loc) · 1.53 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
inherit_gem:
bixby: bixby_default.yml
inherit_from: .rubocop_todo.yml
AllCops:
DisplayCopNames: true
Exclude:
- 'vendor/**/*'
- 'spec/internal/bin/*'
- 'spec/internal/db/schema.rb'
- Gemfile
- hydra-derivatives.gemspec
- Rakefile
Layout/IndentationConsistency:
EnforcedStyle: indented_internal_methods
Metrics/AbcSize:
Max: 42
Exclude:
- lib/hydra/derivatives/processors/document.rb
- lib/hydra/derivatives/processors/full_text.rb
- lib/hydra/derivatives/processors/jpeg2k_image.rb
- lib/hydra/derivatives/processors/shell_based_processor.rb
- lib/hydra/derivatives/services/persist_basic_contained_output_file_service.rb
- lib/hydra/derivatives/services/tempfile_service.rb
Metrics/BlockLength:
Max: 320
Metrics/LineLength:
Enabled: false
RSpec/ExampleLength:
Max: 10
RSpec/ExampleWording:
CustomTransform:
be: is
have: has
not: does not
NOT: does NOT
IgnoredWords:
- only
RSpec/FilePath:
Enabled: false
RSpec/HookArgument:
Exclude:
- spec/spec_helper.rb
RSpec/InstanceVariable:
Enabled: false
RSpec/MessageSpies:
Enabled: false
RSpec/MultipleExpectations:
Max: 10
RSpec/NamedSubject:
Enabled: false
RSpec/NestedGroups:
Max: 4
Style/ClassAndModuleChildren:
Enabled: false
Style/CollectionMethods:
PreferredMethods:
collect: 'map'
collect!: 'map!'
inject: 'reduce'
detect: 'find'
find_all: 'select'
Style/Documentation:
Enabled: false
Style/SignalException:
Enabled: false
Style/StringLiterals:
Enabled: false