[59845] Update Datepicker for automatic scheduling mode #33533
reviewdog [rubocop] report
reported by reviewdog 🐶
Findings (3)
app/components/work_packages/date_picker/dialog_content_component.rb|30 col 1| Add an empty line after magic comments.
app/controllers/work_packages/date_picker_controller.rb|73 col 3| Assignment Branch Condition size for update is too high. [<4, 19, 2> 19.52/17]
app/controllers/work_packages/date_picker_controller.rb|130 col 3| Assignment Branch Condition size for manually_scheduled is too high. [<0, 17, 4> 17.46/17]
Filtered Findings (0)
Annotations
Check notice on line 30 in app/components/work_packages/date_picker/dialog_content_component.rb
github-actions / rubocop
[rubocop] app/components/work_packages/date_picker/dialog_content_component.rb#L30 <Layout/EmptyLineAfterMagicComment>
Add an empty line after magic comments.
Raw output
app/components/work_packages/date_picker/dialog_content_component.rb:30:1: C: Layout/EmptyLineAfterMagicComment: Add an empty line after magic comments.
Check notice on line 100 in app/controllers/work_packages/date_picker_controller.rb
github-actions / rubocop
[rubocop] app/controllers/work_packages/date_picker_controller.rb#L73-L100 <Metrics/AbcSize>
Assignment Branch Condition size for update is too high. [<4, 19, 2> 19.52/17]
Raw output
app/controllers/work_packages/date_picker_controller.rb:73:3: C: Metrics/AbcSize: Assignment Branch Condition size for update is too high. [<4, 19, 2> 19.52/17]
Check notice on line 138 in app/controllers/work_packages/date_picker_controller.rb
github-actions / rubocop
[rubocop] app/controllers/work_packages/date_picker_controller.rb#L130-L138 <Metrics/AbcSize>
Assignment Branch Condition size for manually_scheduled is too high. [<0, 17, 4> 17.46/17]
Raw output
app/controllers/work_packages/date_picker_controller.rb:130:3: C: Metrics/AbcSize: Assignment Branch Condition size for manually_scheduled is too high. [<0, 17, 4> 17.46/17]