-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop.yml
87 lines (72 loc) · 2.75 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
87
inherit_from: .rubocop_todo.yml
inherit_gem:
niftany: niftany_rubocop.yml
AllCops:
TargetRubyVersion: 2.6
Exclude:
- 'db/**/*'
- 'script/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
- 'bin/**/*'
- 'node_modules/**/*'
Style/RescueModifier:
Exclude:
- 'app/importers/**/*'
Lint/MissingSuper:
Exclude:
- 'app/models/concerns/null_object_pattern.rb'
- 'app/components/**/*'
Lint/ConstantDefinitionInBlock:
Exclude:
- 'spec/component/models/concerns/null_object_pattern_spec.rb'
RSpec/AnyInstance:
Exclude:
- 'spec/component/importers/news_feed_item_importer_spec.rb'
- 'spec/component/importers/unpaywall_publication_importer_spec.rb'
- 'spec/component/models/activity_insight_publication_exporter_spec.rb'
- 'spec/component/models/scholarsphere_file_handler_spec.rb'
- 'spec/component/models/scholarsphere_work_deposit_spec.rb'
- 'spec/component/importers/activity_insight_importer_spec.rb'
- 'spec/component/components/scholarsphere_deposit_form_component_spec.rb'
- 'spec/integration/profiles/open_access_publications/edit_spec.rb'
- 'spec/component/models/duplicate_publication_group_spec.rb'
- 'spec/component/models/activity_insight_oa_status_exporter_spec.rb'
- 'spec/component/models/file_version_checker_spec.rb'
- 'spec/integration/admin/activity_insight_oa_workflow/wrong_file_version_review_spec.rb'
- 'spec/integration/admin/activity_insight_oa_workflow/preferred_version_none_spec.rb'
RSpec/LeakyConstantDeclaration:
Exclude:
- 'spec/component/models/concerns/null_object_pattern_spec.rb'
RSpec/MultipleMemoizedHelpers:
Exclude:
- 'spec/component/models/user_spec.rb'
Style/Semicolon:
Exclude:
- 'lib/tasks/database_data.rake'
Metrics/CyclomaticComplexity:
Exclude:
- 'app/importers/activity_insight_importer.rb'
Metrics/PerceivedComplexity:
Exclude:
- 'app/importers/activity_insight_importer.rb'
RSpec/PendingWithoutReason:
Exclude:
- 'spec/component/models/journal_spec.rb'
- 'spec/component/models/organization_spec.rb'
- 'spec/component/models/publisher_spec.rb'
- 'spec/unit/decorators/authorship_decorator_spec.rb'
- 'spec/requests/activity_insight_oa_workflow/wrong_file_version_curation/email_author_spec.rb'
RSpec/EmptyExampleGroup:
Exclude:
- 'spec/requests/api/v1/api_docs/organizations_spec.rb'
- 'spec/requests/api/v1/api_docs/publications_spec.rb'
- 'spec/requests/api/v1/api_docs/users_spec.rb'
RSpec/VariableName:
Exclude:
- 'spec/requests/api/v1/api_docs/organizations_spec.rb'
- 'spec/requests/api/v1/api_docs/publications_spec.rb'
- 'spec/requests/api/v1/api_docs/users_spec.rb'
Style/StringConcatenation:
Exclude:
- 'spec/component/controllers/open_access_publications_controller_spec.rb'