forked from samvera-labs/hyrax-doi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rubocop.yml
55 lines (44 loc) · 1.13 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
inherit_gem:
bixby: bixby_default.yml
AllCops:
TargetRubyVersion: 2.4
DisplayCopNames: true
Exclude:
- 'spec/internal_test_hyrax/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
Metrics/BlockLength:
Exclude:
- 'hyrax-doi.gemspec'
- 'lib/hyrax/doi/spec/shared_specs/*'
- 'spec/**/*'
Metrics/MethodLength:
Exclude:
- 'app/controllers/hyrax/doi/hyrax_doi_controller.rb'
Layout/LineLength:
Exclude:
- 'spec/support/datacite_api_stubs.rb'
Style/RedundantSelf:
Exclude:
- 'app/services/hyrax/doi/datacite_registrar.rb'
Naming/FileName:
Exclude:
- 'lib/generators/hyrax/doi/templates/config/initializers/hyrax-doi.rb'
RSpec/ExampleLength:
Max: 10
Exclude:
- 'spec/features/**/*'
- 'spec/services/bolognese/writers/hyrax_work_writer_spec.rb'
RSpec/AnyInstance:
Exclude:
- 'spec/controllers/hyrax_doi_controller_spec.rb'
- 'spec/features/autofill_spec.rb'
- 'spec/features/create_draft_doi_spec.rb'
RSpec/DescribeClass:
Exclude:
- 'spec/features/**/*'
RSpec/NestedGroups:
Enabled: false
Rails/Date:
Exclude:
- 'spec/services/bolognese/readers/hyrax_work_reader_spec.rb'