Skip to content

Meetings with agenda tops prototype #4283

Meetings with agenda tops prototype

Meetings with agenda tops prototype #4283

Triggered via pull request July 26, 2023 16:42
Status Success
Total duration 7m 51s
Artifacts

eslint-core.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

215 errors and 35 warnings
[rubocop] app/models/work_package.rb#L64: app/models/work_package.rb#L64
Rails/HasManyOrHasOneDependent: Specify a :dependent option.
[rubocop] config/initializers/lookbook.rb#L5: config/initializers/lookbook.rb#L5
[Correctable] Rails/RootPathnameMethods: Rails.root is a Pathname so you can just append #read.
[rubocop] config/initializers/lookbook.rb#L6: config/initializers/lookbook.rb#L6
[Correctable] Rails/RootPathnameMethods: Rails.root is a Pathname so you can just append #read.
[rubocop] config/initializers/lookbook.rb#L38: config/initializers/lookbook.rb#L38
[Correctable] Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
[rubocop] modules/meeting/app/components/base/op_primer/component_helpers.rb#L31: modules/meeting/app/components/base/op_primer/component_helpers.rb#L31
[Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
[rubocop] modules/meeting/app/components/base/op_primer/component_helpers.rb#L32: modules/meeting/app/components/base/op_primer/component_helpers.rb#L32
[Correctable] Style/ExplicitBlockArgument: Consider using explicit block argument in the surrounding method's signature over yield.
[rubocop] modules/meeting/app/components/base/op_primer/component_helpers.rb#L32: modules/meeting/app/components/base/op_primer/component_helpers.rb#L32
[Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
[rubocop] modules/meeting/app/components/base/op_primer/component_helpers.rb#L37: modules/meeting/app/components/base/op_primer/component_helpers.rb#L37
[Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
[rubocop] modules/meeting/app/components/base/op_primer/component_helpers.rb#L38: modules/meeting/app/components/base/op_primer/component_helpers.rb#L38
[Correctable] Style/ExplicitBlockArgument: Consider using explicit block argument in the surrounding method's signature over yield.
[rubocop] modules/meeting/app/components/base/op_primer/component_helpers.rb#L38: modules/meeting/app/components/base/op_primer/component_helpers.rb#L38
[Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
[rubocop] modules/meeting/app/components/base/op_primer/flex_layout_component.rb#L31: modules/meeting/app/components/base/op_primer/flex_layout_component.rb#L31
[Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
[rubocop] modules/meeting/app/components/base/op_primer/flex_layout_component.rb#L32: modules/meeting/app/components/base/op_primer/flex_layout_component.rb#L32
[Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
[rubocop] modules/meeting/app/components/base/op_turbo/component.rb#L34: modules/meeting/app/components/base/op_turbo/component.rb#L34
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
[rubocop] modules/meeting/app/components/base/op_turbo/component.rb#L35: modules/meeting/app/components/base/op_turbo/component.rb#L35
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
[rubocop] modules/meeting/app/components/meeting_agenda_items/form_component.rb#L40: modules/meeting/app/components/meeting_agenda_items/form_component.rb#L40
Metrics/AbcSize: Assignment Branch Condition size for call is too high. [<5, 47, 3> 47.36/17]
[rubocop] modules/meeting/app/components/meeting_agenda_items/form_component.rb#L58: modules/meeting/app/components/meeting_agenda_items/form_component.rb#L58
[Correctable] Rails/Blank: Use if @active_work_package.blank? instead of unless @active_work_package.present?.
[rubocop] modules/meeting/app/components/meeting_agenda_items/form_component.rb#L71: modules/meeting/app/components/meeting_agenda_items/form_component.rb#L71
[Correctable] Rails/Blank: Use if @active_work_package.blank? instead of unless @active_work_package.present?.
[rubocop] modules/meeting/app/components/meeting_agenda_items/form_component.rb#L139: modules/meeting/app/components/meeting_agenda_items/form_component.rb#L139
Metrics/AbcSize: Assignment Branch Condition size for action_menu_partial is too high. [<2, 20, 7> 21.28/17]
[rubocop] modules/meeting/app/components/meeting_agenda_items/item_component/edit_component.rb#L45: modules/meeting/app/components/meeting_agenda_items/item_component/edit_component.rb#L45
[Correctable] Layout/FirstArgumentIndentation: Indent the first argument one step more than MeetingAgendaItems::FormComponent.new(.
[rubocop] modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L130: modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L130
[Correctable] Layout/FirstArgumentIndentation: Indent the first argument one step more than Primer::Beta::RelativeTime.new(.
[rubocop] modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L174: modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L174
[Correctable] Style/QuotedSymbols: Prefer single-quoted symbols when you don't need string interpolation or special symbols.
[rubocop] modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L177: modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L177
[Correctable] Layout/FirstArgumentIndentation: Indent the first argument one step more than Primer::Beta::IconButton.new(.
[rubocop] modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L183: modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L183
[Correctable] Style/QuotedSymbols: Prefer single-quoted symbols when you don't need string interpolation or special symbols.
[rubocop] modules/meeting/app/components/work_package_tab/meetings/item_component.rb#L91: modules/meeting/app/components/work_package_tab/meetings/item_component.rb#L91
[Correctable] Layout/FirstArgumentIndentation: Indent the first argument one step more than Primer::Beta::Counter.new(.
[rubocop] modules/meeting/app/components/work_package_tab/meetings/item_component.rb#L107: modules/meeting/app/components/work_package_tab/meetings/item_component.rb#L107
[Correctable] Style/QuotedSymbols: Prefer single-quoted symbols when you don't need string interpolation or special symbols.
[rubocop] modules/meeting/app/components/work_package_tab/meetings/item_component.rb#L110: modules/meeting/app/components/work_package_tab/meetings/item_component.rb#L110
[Correctable] Layout/FirstArgumentIndentation: Indent the first argument one step more than Primer::Beta::IconButton.new(.
[rubocop] modules/meeting/app/components/work_package_tab/meetings/item_component.rb#L116: modules/meeting/app/components/work_package_tab/meetings/item_component.rb#L116
[Correctable] Style/QuotedSymbols: Prefer single-quoted symbols when you don't need string interpolation or special symbols.
[rubocop] modules/meeting/app/controllers/meetings_controller.rb#L58: modules/meeting/app/controllers/meetings_controller.rb#L58
Metrics/AbcSize: Assignment Branch Condition size for index_in_wp_tab is too high. [<5, 27, 1> 27.48/17]
[rubocop] modules/meeting/app/controllers/meetings_controller.rb#L63: modules/meeting/app/controllers/meetings_controller.rb#L63
[Correctable] Rails/WhereEquals: Use where(meeting_agenda_items: { work_package_id: @active_work_package.id }) instead of manually constructing SQL.
[rubocop] modules/meeting/app/forms/meeting_agenda_item/new/author.rb#L42: modules/meeting/app/forms/meeting_agenda_item/new/author.rb#L42
[Correctable] Style/RedundantInterpolation: Prefer to_s over string interpolation.
[rubocop] modules/meeting/app/forms/meeting_agenda_item/new/clarification.rb#L34: modules/meeting/app/forms/meeting_agenda_item/new/clarification.rb#L34
[Correctable] Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.
[rubocop] modules/meeting/app/forms/meeting_agenda_item/new/clarification_need.rb#L34: modules/meeting/app/forms/meeting_agenda_item/new/clarification_need.rb#L34
[Correctable] Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.
[rubocop] modules/meeting/app/forms/meeting_agenda_item/new/details.rb#L34: modules/meeting/app/forms/meeting_agenda_item/new/details.rb#L34
[Correctable] Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.
[rubocop] modules/meeting/app/forms/meeting_agenda_item/new/title.rb#L37: modules/meeting/app/forms/meeting_agenda_item/new/title.rb#L37
[Correctable] Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.
[rubocop] modules/meeting/app/forms/meeting_agenda_item_form.rb#L31: modules/meeting/app/forms/meeting_agenda_item_form.rb#L31
[Correctable] Rails/Blank: Use if @preselected_work_package.blank? instead of unless @preselected_work_package.present?.
[rubocop] modules/meeting/app/forms/meeting_agenda_item_form.rb#L41: modules/meeting/app/forms/meeting_agenda_item_form.rb#L41
[Correctable] Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.
[rubocop] modules/meeting/app/forms/meeting_agenda_item_form.rb#L61: modules/meeting/app/forms/meeting_agenda_item_form.rb#L61
[Correctable] Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.
[rubocop] modules/meeting/app/forms/meeting_agenda_item_form.rb#L63: modules/meeting/app/forms/meeting_agenda_item_form.rb#L63
[Correctable] Rails/Blank: Use if @preselected_work_package.blank? instead of unless @preselected_work_package.present?.
[rubocop] modules/meeting/app/forms/meeting_agenda_item_form.rb#L66: modules/meeting/app/forms/meeting_agenda_item_form.rb#L66
[Correctable] Style/TrailingCommaInArguments: Avoid comma after the last parameter of a method call.
[rubocop] modules/meeting/app/forms/meeting_agenda_item_form.rb#L69: modules/meeting/app/forms/meeting_agenda_item_form.rb#L69
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
[rubocop] modules/meeting/app/models/meeting_agenda_item.rb#L44: modules/meeting/app/models/meeting_agenda_item.rb#L44
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
[rubocop] modules/meeting/app/models/meeting_agenda_item.rb#L45: modules/meeting/app/models/meeting_agenda_item.rb#L45
[Correctable] Layout/MultilineBlockLayout: Block argument expression is not on the same line as the block start.
[rubocop] modules/meeting/app/models/meeting_agenda_item.rb#L45: modules/meeting/app/models/meeting_agenda_item.rb#L45
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
[rubocop] spec/components/previews/advanced_filters_preview.rb#L2: spec/components/previews/advanced_filters_preview.rb#L2
[Correctable] Style/EmptyMethod: Put empty method definitions on a single line.
[rubocop] spec/components/previews/icon_component_preview.rb#L4: spec/components/previews/icon_component_preview.rb#L4
[Correctable] Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body beginning.
[rubocop] spec/components/previews/switch_component_preview.rb#L4: spec/components/previews/switch_component_preview.rb#L4
[Correctable] Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body beginning.
[rubocop] spec/components/previews/toolbar_component_preview.rb#L4: spec/components/previews/toolbar_component_preview.rb#L4
[Correctable] Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body beginning.
[rubocop] spec/components/previews/toolbar_component_preview.rb#L8: spec/components/previews/toolbar_component_preview.rb#L8
[Correctable] Style/EmptyMethod: Put empty method definitions on a single line.
[rubocop] spec/components/previews/toolbar_component_preview.rb#L11: spec/components/previews/toolbar_component_preview.rb#L11
[Correctable] Style/EmptyMethod: Put empty method definitions on a single line.
[rubocop] spec/components/previews/toolbar_component_preview.rb#L14: spec/components/previews/toolbar_component_preview.rb#L14
[Correctable] Style/EmptyMethod: Put empty method definitions on a single line.
[rubocop] spec/components/previews/tooltip_component_preview.rb#L4: spec/components/previews/tooltip_component_preview.rb#L4
[Correctable] Style/EmptyMethod: Put empty method definitions on a single line.
[rubocop] spec/components/previews/widget_component_preview.rb#L5: spec/components/previews/widget_component_preview.rb#L5
[Correctable] Style/EmptyMethod: Put empty method definitions on a single line.
[rubocop] app/components/icon_component.rb#L4: app/components/icon_component.rb#L4
Lint/MissingSuper: Call super to initialize state of the parent class.
[rubocop] app/components/switch_component.rb#L4: app/components/switch_component.rb#L4
Lint/MissingSuper: Call super to initialize state of the parent class.
[rubocop] app/components/tooltip_component.rb#L7: app/components/tooltip_component.rb#L7
Lint/MissingSuper: Call super to initialize state of the parent class.
[rubocop] app/models/user_preference.rb#L134: app/models/user_preference.rb#L134
Lint/DuplicateMethods: Method UserPreference#theme is defined at both app/models/user_preference.rb:126 and app/models/user_preference.rb:134.
[rubocop] config/initializers/lookbook.rb#L16: config/initializers/lookbook.rb#L16
[Correctable] Lint/PercentStringArray: Within %w/%W, quotes and ',' are unnecessary and may be unwanted in the resulting strings.
[rubocop] config/initializers/lookbook.rb#L21: config/initializers/lookbook.rb#L21
Lint/ConstantDefinitionInBlock: Do not define constants this way within a block.
[rubocop] modules/meeting/app/components/base/op_primer/component_helpers.rb#L31: modules/meeting/app/components/base/op_primer/component_helpers.rb#L31
[Correctable] Lint/UnusedMethodArgument: Unused method argument - block. If it's necessary, use _ or _block as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
[rubocop] modules/meeting/app/components/base/op_primer/component_helpers.rb#L37: modules/meeting/app/components/base/op_primer/component_helpers.rb#L37
[Correctable] Lint/UnusedMethodArgument: Unused method argument - block. If it's necessary, use _ or _block as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
[rubocop] modules/meeting/app/components/meeting_agenda_items/item_component.rb#L31: modules/meeting/app/components/meeting_agenda_items/item_component.rb#L31
[Correctable] Lint/UnusedMethodArgument: Unused method argument - kwargs. If it's necessary, use _ or _kwargs as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
[rubocop] modules/meeting/app/components/meeting_agenda_items/item_component/edit_component.rb#L31: modules/meeting/app/components/meeting_agenda_items/item_component/edit_component.rb#L31
[Correctable] Lint/UnusedMethodArgument: Unused method argument - kwargs. If it's necessary, use _ or _kwargs as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
[rubocop] modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L31: modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L31
[Correctable] Lint/UnusedMethodArgument: Unused method argument - kwargs. If it's necessary, use _ or _kwargs as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
[rubocop] modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L106: modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L106
[Correctable] Lint/UnusedMethodArgument: Unused method argument - meeting_agenda_item. If it's necessary, use _ or _meeting_agenda_item as an argument name to indicate that it won't be used. If it's unnecessary, remove it. You can also write as title_partial(*) if you want the method to accept any arguments but don't care about them.
[rubocop] modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L175: modules/meeting/app/components/work_package_tab/meeting_agenda_items/list_component.rb#L175
[Correctable] Lint/UnusedBlockArgument: Unused block argument - form. You can omit the argument if you don't care about it.
[rubocop] modules/meeting/app/components/work_package_tab/meetings/item_component.rb#L31: modules/meeting/app/components/work_package_tab/meetings/item_component.rb#L31
[Correctable] Lint/UnusedMethodArgument: Unused method argument - kwargs. If it's necessary, use _ or _kwargs as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
[rubocop] modules/meeting/app/components/work_package_tab/meetings/item_component.rb#L108: modules/meeting/app/components/work_package_tab/meetings/item_component.rb#L108
[Correctable] Lint/UnusedBlockArgument: Unused block argument - form. You can omit the argument if you don't care about it.
[rubocop] modules/meeting/app/components/work_package_tab/meetings/list_component.rb#L31: modules/meeting/app/components/work_package_tab/meetings/list_component.rb#L31
[Correctable] Lint/UnusedMethodArgument: Unused method argument - kwargs. If it's necessary, use _ or _kwargs as an argument name to indicate that it won't be used. If it's unnecessary, remove it.
[rubocop] modules/meeting/app/forms/meeting_agenda_item_form.rb#L73: modules/meeting/app/forms/meeting_agenda_item_form.rb#L73
Lint/MissingSuper: Call super to initialize state of the parent class.