-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rubocop_todo.yml
105 lines (82 loc) · 2.18 KB
/
.rubocop_todo.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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
require: rubocop-rspec
Bundler/OrderedGems:
Exclude:
- 'Gemfile'
Metrics/BlockLength:
Exclude:
- 'spec/**/*'
- 'app/controllers/catalog_controller.rb'
- 'app/models/concerns/remotely_identified_by_doi.rb'
- 'config/initializers/simple_form_bootstrap.rb'
- 'config/routes.rb'
- 'app/views/sitemaps/index.xml.builder'
Metrics/CyclomaticComplexity:
Exclude:
#everything here was hyrax-specific
Metrics/ClassLength:
Exclude:
#everything here was hyrax-specific
- 'app/controllers/catalog_controller.rb'
Metrics/ParameterLists:
Exclude:
#everything here was hyrax-specific
Metrics/ModuleLength:
Exclude:
#everything here was hyrax-specific
Metrics/MethodLength:
Exclude:
#everything here was hyrax-specific
Style/LineEndConcatenation:
Exclude:
#everything here was hyrax-specific
Style/PredicateName:
Exclude:
#everything here was hyrax-specific
Style/SafeNavigation:
Exclude:
- 'app/controllers/concerns/hyrax/collections_controller_behavior.rb'
Style/PercentLiteralDelimiters:
Enabled: false
Style/SymbolArray:
Enabled: false
Rails/Present:
Exclude:
- 'app/controllers/hyrax/users_controller.rb'
- 'app/indexers/hyrax/collection_indexer.rb'
- 'app/indexers/hyrax/work_indexer.rb'
- 'app/models/concerns/remotely_identified_by_doi.rb'
Rails/Output:
Exclude:
#keeping this as we may use generators in the future
- 'lib/generators/**/*'
Rails/HasAndBelongsToMany:
Exclude:
#everything here was hyrax-specific
Rails/HttpPositionalArguments:
Exclude:
- 'spec/**/*'
RSpec/NamedSubject:
Enabled: false
RSpec/ExampleLength:
Max: 7
Exclude:
#everything here was hyrax-specific
Rails/FilePath:
Exclude:
- 'config/**/*'
- 'app/jobs/change_manager/process_change_job.rb'
- 'app/mailers/change_manager/scholar_notification_mailer.rb'
- 'spec/rails_helper.rb'
- 'lib/tasks/account.rake'
- 'spec/lib/task_helpers/account_helper_spec.rb'
RSpec/VerifiedDoubles:
Enabled: false
RSpec/AnyInstance:
Exclude:
#everything here was hyrax-specific
RSpec/ImplicitExpect:
Exclude:
- 'spec/**/*'
RSpec/InstanceVariable:
Exclude:
- 'spec/controllers/callbacks_controller_spec.rb'