-
Notifications
You must be signed in to change notification settings - Fork 4
/
.rubocop.yml
158 lines (116 loc) · 2.92 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
inherit_from: .rubocop_todo.yml
inherit_gem:
bixby: bixby_default.yml
AllCops:
TargetRubyVersion: 2.7
Exclude:
- 'db/**/*'
- 'script/**/*'
- 'vendor/**/*'
- 'tmp/**/*'
- 'config/initializers/explain_partials.rb'
- 'node_modules/**/*'
# BEGIN; Disabled in move to 2.3 sytax linter
Style/FrozenStringLiteralComment:
Enabled: false
Style/GuardClause:
Exclude:
- 'app/controllers/hyrax/etds_controller.rb'
Style/NumericPredicate:
Enabled: false
Style/SafeNavigation:
Enabled: false
# END; Disabled in move to 2.3 sytax linter
Style/SymbolProc:
Enabled: false
Layout/HashAlignment:
Enabled: false
Layout/SpaceAroundOperators:
Exclude:
- 'spec/fixtures/form_submission_params/*'
Layout/SpaceInsideHashLiteralBraces:
Exclude:
- 'spec/fixtures/form_submission_params/*'
Layout/MultilineHashBraceLayout:
Exclude:
- 'spec/controllers/hyrax/etds_controller_spec.rb'
Layout/FirstHashElementIndentation:
Exclude:
- 'spec/models/in_progress_etd_spec.rb'
Lint/Void:
Enabled: false
Lint/UnusedBlockArgument:
Enabled: false
Lint/AmbiguousOperator:
Enabled: false
Metrics/AbcSize:
Enabled: false
Metrics/BlockLength:
Enabled: false
Metrics/ClassLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Layout/LineLength:
Exclude:
- 'spec/fixtures/form_submission_params/*'
- 'spec/services/hyrax/workflow/pending_approval_notification_spec.rb'
- 'spec/features/rollins_workflow_etd_spec.rb'
- 'app/inputs/fields_without_blank.rb'
- 'spec/factories/solr_document.rb'
- 'spec/presenters/etd_file_set_presenter_spec.rb'
Metrics/PerceivedComplexity:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/ModuleLength:
Enabled: false
Rails/Delegate:
Exclude:
- 'app/models/schools/department.rb'
- 'app/models/schools/subfield.rb'
Rails/FindBy:
Enabled: false
RSpec/ExampleLength:
Enabled: false
RSpec/MessageSpies:
Exclude:
- 'spec/controllers/hyrax/admin/workflows_controller_spec.rb'
- 'spec/actors/primary_file_title_actor_spec.rb'
- 'spec/controllers/hyrax/etds_controller_spec.rb'
RSpec/MultipleExpectations:
Enabled: false
RSpec/NotToNot:
Exclude:
- 'spec/models/ability_spec.rb'
Style/CommentAnnotation:
Enabled: false
Style/Semicolon:
Enabled: false
Layout/MultilineMethodCallIndentation:
Enabled: false
Layout/ParameterAlignment:
Exclude:
- 'app/models/etd.rb'
- 'spec/controllers/hyrax/etds_controller_spec.rb'
Layout/ClosingParenthesisIndentation:
Enabled: false
RSpec/InstanceVariable:
Enabled: false
RSpec/DescribeClass:
Exclude:
- 'spec/javascripts/jasmine_spec.rb'
RSpec/LetSetup:
Exclude:
- "spec/models/schools/*.rb"
RSpec/NestedGroups:
Enabled: false
RSpec/VerifiedDoubles:
Enabled: false
Style/BlockDelimiters:
Enabled: false
Style/IfUnlessModifier:
Enabled: false
RSpec/AnyInstance:
Exclude:
- 'spec/system/check_school_spec.rb'