-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
51 lines (41 loc) · 965 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
47
48
49
50
51
require: rubocop-rspec
inherit_gem:
bixby: bixby_default.yml
inherit_from: .rubocop_todo.yml
AllCops:
DisplayCopNames: true
TargetRubyVersion: 2.6
Exclude:
- 'bin/*'
- 'config/deploy.rb'
- 'vendor/**/*'
- 'db/schema.rb'
- 'node_modules/**/*'
- 'spec/support/**/*'
- 'tmp/**/*'
Metrics/BlockLength:
Exclude:
- spec/lib/metadata_mapping_spec.rb
- app/controllers/catalog_controller.rb
- spec/lib/dspace_research_data_harvester_spec.rb
Metrics/ParameterLists:
Exclude:
- app/lib/dspace_research_data_harvester.rb
Rails/Output:
Exclude:
- app/lib/cli.rb
RSpec/AnyInstance:
Exclude:
- spec/lib/research_data_harvester_spec.rb
RSpec/ExampleLength:
Exclude:
- spec/lib/research_data_collection_spec.rb
- spec/system/banner_spec.rb
Rails/UnknownEnv:
Enabled: false
Style/NumericPredicate:
Enabled: false
Style/GuardClause:
Enabled: false
Style/IfUnlessModifier:
Enabled: false