Skip to content

refactored meeting agenda UI towards new work_package issues

Sign in for the full log view
GitHub Actions / rubocop failed Aug 1, 2023 in 2s

reviewdog [rubocop] report

reported by reviewdog 🐶

Findings (68)

app/components/icon_component.rb|4 col 3| Lint/MissingSuper: Call super to initialize state of the parent class.
app/components/switch_component.rb|4 col 3| Lint/MissingSuper: Call super to initialize state of the parent class.
app/components/tooltip_component.rb|7 col 3| Lint/MissingSuper: Call super to initialize state of the parent class.
app/models/user_preference.rb|134 col 3| Lint/DuplicateMethods: Method UserPreference#theme is defined at both app/models/user_preference.rb:126 and app/models/user_preference.rb:134.
config/initializers/lookbook.rb|5 col 34| [Correctable] Rails/RootPathnameMethods: Rails.root is a Pathname so you can just append #read.
config/initializers/lookbook.rb|6 col 32| [Correctable] Rails/RootPathnameMethods: Rails.root is a Pathname so you can just append #read.
config/initializers/lookbook.rb|16 col 19| [Correctable] Lint/PercentStringArray: Within %w/%W, quotes and ',' are unnecessary and may be unwanted in the resulting strings.
config/initializers/lookbook.rb|21 col 5| Lint/ConstantDefinitionInBlock: Do not define constants this way within a block.
config/initializers/lookbook.rb|38 col 33| [Correctable] Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
modules/meeting/app/components/base/op_primer/box_collection_component.rb|31 col 5| Lint/MissingSuper: Call super to initialize state of the parent class.
modules/meeting/app/components/base/op_primer/box_collection_component.rb|31 col 20| [Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding ().
modules/meeting/app/components/base/op_primer/box_collection_component.rb|32 col 45| [Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (
).
modules/meeting/app/components/base/op_primer/box_collection_component.rb|36 col 41| [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator ||.
modules/meeting/app/components/base/op_primer/flex_layout_component.rb|31 col 5| Lint/MissingSuper: Call super to initialize state of the parent class.
modules/meeting/app/components/base/op_primer/flex_layout_component.rb|31 col 20| [Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding ().
modules/meeting/app/components/base/op_primer/flex_layout_component.rb|32 col 45| [Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (
).
modules/meeting/app/components/base/op_primer/flex_layout_component.rb|45 col 43| [Correctable] Naming/BlockForwarding: Use anonymous block forwarding.
modules/meeting/app/components/base/op_primer/flex_layout_component.rb|47 col 9| [Correctable] Style/RedundantReturn: Redundant return detected.
modules/meeting/app/components/base/op_primer/flex_layout_component.rb|47 col 91| [Correctable] Naming/BlockForwarding: Use anonymous block forwarding.
modules/meeting/app/components/base/op_primer/flex_layout_component.rb|49 col 9| [Correctable] Style/RedundantReturn: Redundant return detected.
modules/meeting/app/components/base/op_primer/flex_layout_component.rb|49 col 50| [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator ||.
modules/meeting/app/components/base/op_turbo/component.rb|32 col 28| [Correctable] Style/RedundantSelf: Redundant self detected.
modules/meeting/app/components/base/op_turbo/component.rb|34 col 25| [Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
modules/meeting/app/components/base/op_turbo/component.rb|35 col 48| [Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
modules/meeting/app/components/base/op_turbo/component.rb|45 col 7| [Correctable] Style/RedundantSelf: Redundant self detected.
modules/meeting/app/components/base/op_turbo/stream_wrapper.rb|31 col 5| Lint/MissingSuper: Call super to initialize state of the parent class.
modules/meeting/app/components/meeting_agenda_items/form_component.rb|65 col 5| Metrics/AbcSize: Assignment Branch Condition size for form_content_partial is too high. [<4, 31, 1> 31.27/17]
modules/meeting/app/components/meeting_agenda_items/form_component.rb|65 col 30| Naming/MethodParameterName: Method parameter must be at least 3 characters long.
modules/meeting/app/components/meeting_agenda_items/form_component.rb|67 col 46| Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - flex.
modules/meeting/app/components/meeting_agenda_items/form_component.rb|68 col 67| Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - flex.
modules/meeting/app/components/meeting_agenda_items/form_component.rb|80 col 131| Layout/LineLength: Line is too long. [172/130]
modules/meeting/app/components/meeting_agenda_items/form_component.rb|96 col 81| Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - flex.
modules/meeting/app/components/meeting_agenda_items/form_component.rb|125 col 131| Layout/LineLength: Line is too long. [146/130]
modules/meeting/app/components/meeting_agenda_items/form_component.rb|132 col 131| Layout/LineLength: Line is too long. [141/130]
modules/meeting/app/components/meeting_agenda_items/item_component/issue_resolution_component.rb|91 col 83| Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - flex.
modules/meeting/app/components/meeting_agenda_items/item_component/notes_component.rb|118 col 83| Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - flex.
modules/meeting/app/components/meeting_agenda_items/item_component/show_component.rb|39 col 58| Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - flex.
modules/meeting/app/components/meeting_agenda_items/item_component/show_component.rb|101 col 104| Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - flex.
modules/meeting/app/components/meeting_agenda_items/item_component/show_component.rb|115 col 131| Layout/LineLength: Line is too long. [135/130]
modules/meeting/app/components/work_package_tab/issues/form_component.rb|52 col 85| Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - flex.
modules/meeting/app/components/work_package_tab/issues/item_component.rb|72 col 5| Metrics/AbcSize: Assignment Branch Condition size for issue_description_partial is too high. [<3, 17, 5> 17.97/17]
modules/meeting/app/components/work_package_tab/issues/item_component.rb|74 col 46| Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - flex.
modules/meeting/app/components/work_package_tab/issues/item_component.rb|199 col 5| Metrics/AbcSize: Assignment Branch Condition size for meeting_assignment_partial is too high. [<2, 21, 1> 21.12/17]
modules/meeting/app/components/work_package_tab/issues/item_component.rb|204 col 56| Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - flex.
modules/meeting/app/components/work_package_tab/issues/item_component.rb|207 col 131| Layout/LineLength: Line is too long. [149/130]
modules/meeting/app/components/work_package_tab/issues/item_component.rb|207 col 141| Rails/OutputSafety: Tagging a string as html safe may be a security risk.
modules/meeting/app/components/work_package_tab/issues/resolve_component.rb|49 col 85| Lint/ShadowingOuterLocalVariable: Shadowing outer local variable - flex.
modules/meeting/app/forms/meeting_agenda_item/author.rb|43 col 20| [Correctable] Style/RedundantInterpolation: Prefer to_s over string interpolation.
modules/meeting/app/forms/meeting_agenda_item/author.rb|50 col 3| Lint/MissingSuper: Call super to initialize state of the parent class.
modules/meeting/app/forms/meeting_agenda_item/details.rb|42 col 3| Lint/MissingSuper: Call super to initialize state of the parent class.
modules/meeting/app/forms/meeting_agenda_item/duration.rb|41 col 3| Lint/MissingSuper: Call super to initialize state of the parent class.
modules/meeting/app/forms/meeting_agenda_item/issue.rb|40 col 131| Layout/LineLength: Line is too long. [156/130]
modules/meeting/app/forms/meeting_agenda_item/issue.rb|47 col 3| Lint/MissingSuper: Call super to initialize state of the parent class.
modules/meeting/app/forms/meeting_agenda_item/title.rb|42 col 3| Lint/MissingSuper: Call super to initialize state of the parent class.
modules/meeting/db/migrate/20230621142734_create_meeting_agenda_items.rb|16 col 4| [Correctable] Layout/TrailingEmptyLines: Final newline missing.
modules/meeting/db/migrate/20230629193312_add_optional_work_package_reference_to_meeting_agenda_items.rb|5 col 4| [Correctable] Layout/TrailingEmptyLines: Final newline missing.
modules/meeting/db/migrate/20230630162748_add_input_output_to_meeting_agenda_items.rb|6 col 4| [Correctable] Layout/TrailingEmptyLines: Final newline missing.
modules/meeting/db/migrate/20230720142115_add_details_to_meeting_agenda_items.rb|5 col 4| [Correctable] Layout/TrailingEmptyLines: Final newline missing.
modules/meeting/lib/open_project/meeting/engine.rb|41 col 131| Layout/LineLength: Line is too long. [131/130]
spec/components/previews/advanced_filters_preview.rb|2 col 3| [Correctable] Style/EmptyMethod: Put empty method definitions on a single line.
spec/components/previews/icon_component_preview.rb|4 col 1| [Correctable] Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body beginning.
spec/components/previews/switch_component_preview.rb|4 col 1| [Correctable] Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body beginning.
spec/components/previews/toolbar_component_preview.rb|4 col 1| [Correctable] Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body beginning.
spec/components/previews/toolbar_component_preview.rb|8 col 3| [Correctable] Style/EmptyMethod: Put empty method definitions on a single line.
spec/components/previews/toolbar_component_preview.rb|11 col 3| [Correctable] Style/EmptyMethod: Put empty method definitions on a single line.
spec/components/previews/toolbar_component_preview.rb|14 col 3| [Correctable] Style/EmptyMethod: Put empty method definitions on a single line.
spec/components/previews/tooltip_component_preview.rb|4 col 3| [Correctable] Style/EmptyMethod: Put empty method definitions on a single line.
spec/components/previews/widget_component_preview.rb|5 col 3| [Correctable] Style/EmptyMethod: Put empty method definitions on a single line.

Filtered Findings (530)

app/components/oauth/applications/row_component.rb|34 col 1| [Correctable] Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body beginning.
app/controllers/account_controller.rb|77 col 3| Metrics/AbcSize: Assignment Branch Condition size for lost_password is too high. [<8, 51, 13> 53.24/17]
app/controllers/account_controller.rb|77 col 3| Metrics/PerceivedComplexity: Perceived complexity for lost_password is too high. [15/8]
app/controllers/account_controller.rb|81 col 16| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_plaintext_value.
app/controllers/account_controller.rb|99 col 14| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_mail.
app/controllers/account_controller.rb|163 col 13| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_plaintext_value.
app/controllers/account_controller.rb|173 col 5| Lint/DuplicateBranch: Duplicate branch body detected.
app/controllers/account_controller.rb|191 col 3| Metrics/AbcSize: Assignment Branch Condition size for activate_self_registered is too high. [<5, 24, 7> 25.5/17]
app/controllers/account_controller.rb|273 col 3| Metrics/AbcSize: Assignment Branch Condition size for auth_source_sso_failed is too high. [<4, 22, 1> 22.38/17]
app/controllers/account_controller.rb|284 col 25| [Correctable] Style/StringConcatenation: Prefer string interpolation to string concatenation.
app/controllers/account_controller.rb|293 col 26| [Correctable] Rails/Blank: Use if session[:auth_source_sso_failure].blank? instead of unless session[:auth_source_sso_failure].present?.
app/controllers/account_controller.rb|339 col 3| Metrics/AbcSize: Assignment Branch Condition size for register_plain_user is too high. [<5, 24, 3> 24.7/17]
app/controllers/account_controller.rb|354 col 3| Metrics/AbcSize: Assignment Branch Condition size for register_with_auth_source is too high. [<3, 20, 2> 20.32/17]
app/controllers/account_controller.rb|386 col 3| Metrics/AbcSize: Assignment Branch Condition size for direct_login is too high. [<5, 16, 5> 17.49/17]
app/controllers/account_controller.rb|412 col 3| Metrics/AbcSize: Assignment Branch Condition size for password_authentication is too high. [<2, 27, 14> 30.48/17]
app/controllers/account_controller.rb|412 col 3| Metrics/PerceivedComplexity: Perceived complexity for password_authentication is too high. [15/8]
app/controllers/account_controller.rb|416 col 14| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_login.
app/controllers/account_controller.rb|417 col 10| [Correctable] Style/SafeNavigation: Use safe navigation (&.) instead of checking if an object exists before calling the method.
app/controllers/account_controller.rb|433 col 13| [Correctable] Style/SafeNavigation: Use safe navigation (&.) instead of checking if an object exists before calling the method.
app/controllers/account_controller.rb|510 col 15| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_plaintext_value.
app/controllers/application_controller.rb|108 col 19| [Correctable] Style/StringConcatenation: Prefer string interpolation to string concatenation.
app/controllers/application_controller.rb|307 col 16| [Correctable] Rails/Blank: Use if @object.blank? instead of unless @object.present?.
app/controllers/application_controller.rb|318 col 29| [Correctable] Style/StringConcatenation: Prefer string interpolation to string concatenation.
app/controllers/application_controller.rb|329 col 29| [Correctable] Style/StringConcatenation: Prefer string interpolation to string concatenation.
app/controllers/application_controller.rb|338 col 3| Metrics/AbcSize: Assignment Branch Condition size for find_object_and_scope is too high. [<4, 19, 3> 19.65/17]
app/controllers/application_controller.rb|346 col 29| [Correctable] Style/StringConcatenation: Prefer string interpolation to string concatenation.
app/controllers/application_controller.rb|357 col 3| Metrics/AbcSize: Assignment Branch Condition size for find_belongs_to_chained_objects is too high. [<4, 24, 5> 24.84/17]
app/controllers/application_controller.rb|376 col 3| Lint/IneffectiveAccessModifier: protected (on line 42) does not make singleton methods protected. Use protected inside a class << self block instead.
app/controllers/application_controller.rb|397 col 3| Metrics/PerceivedComplexity: Perceived complexity for check_project_privacy is too high. [9/8]
app/controllers/application_controller.rb|398 col 8| [Correctable] Style/SafeNavigation: Use safe navigation (&.) instead of checking if an object exists before calling the method.
app/controllers/application_controller.rb|415 col 41| Style/OptionalBooleanParameter: Prefer keyword arguments for arguments with a boolean default value; use use_escaped: true instead of use_escaped = true.
app/controllers/application_controller.rb|441 col 3| Lint/IneffectiveAccessModifier: protected (on line 42) does not make singleton methods protected. Use protected inside a class << self block instead.
app/controllers/application_controller.rb|517 col 12| [Correctable] Style/StringConcatenation: Prefer string interpolation to string concatenation.
app/controllers/application_controller.rb|543 col 33| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
app/controllers/concerns/auth_source_sso.rb|94 col 5| [Correctable] Rails/Blank: Use if login.blank? instead of unless login.present?.
app/controllers/concerns/auth_source_sso.rb|124 col 3| Metrics/AbcSize: Assignment Branch Condition size for create_user_from_auth_source is too high. [<4, 23, 3> 23.54/17]
app/controllers/users_controller.rb|90 col 3| Metrics/AbcSize: Assignment Branch Condition size for create is too high. [<4, 17, 3> 17.72/17]
app/controllers/users_controller.rb|106 col 3| Metrics/AbcSize: Assignment Branch Condition size for update is too high. [<13, 34, 10> 37.75/17]
app/controllers/users_controller.rb|106 col 3| Metrics/PerceivedComplexity: Perceived complexity for update is too high. [11/8]
app/controllers/users_controller.rb|158 col 3| Metrics/AbcSize: Assignment Branch Condition size for change_status is too high. [<5, 42, 14> 44.55/17]
app/controllers/users_controller.rb|158 col 3| Metrics/PerceivedComplexity: Perceived complexity for change_status is too high. [14/8]
app/controllers/users_controller.rb|197 col 3| Metrics/AbcSize: Assignment Branch Condition size for resend_invitation is too high. [<4, 24, 4> 24.66/17]
app/controllers/users_controller.rb|314 col 3| Metrics/AbcSize: Assignment Branch Condition size for build_user_update_params is too high. [<3, 24, 3> 24.37/17]
app/helpers/accounts_helper.rb|8 col 7| Rails/HelperInstanceVariable: Do not use instance variables in helpers.
app/helpers/users_helper.rb|51 col 30| Style/OptionalBooleanParameter: Prefer keyword arguments for arguments with a boolean default value; use include_num_failed_logins: false instead of include_num_failed_logins = false.
app/helpers/users_helper.rb|76 col 27| [Correctable] Style/MutableConstant: Freeze mutable objects assigned to constants.
app/models/custom_field.rb|183 col 3| Metrics/AbcSize: Assignment Branch Condition size for cast_value is too high. [<7, 13, 9> 17.29/17]
app/models/ldap_auth_source.rb|272 col 23| Naming/MethodParameterName: Method parameter must be at least 3 characters long.
app/models/ldap_auth_source.rb|305 col 3| Lint/IneffectiveAccessModifier: private (on line 218) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/permitted_params.rb|332 col 3| Metrics/AbcSize: Assignment Branch Condition size for enumerations is too high. [<8, 29, 6> 30.68/17]
app/models/permitted_params.rb|411 col 3| Lint/IneffectiveAccessModifier: protected (on line 386) does not make singleton methods protected. Use protected inside a class << self block instead.
app/models/permitted_params.rb|412 col 5| [Correctable] Naming/MemoizedInstanceVariableName: Memoized variable @whitelisted_params does not match method name permitted_attributes. Use @permitted_attributes instead.
app/models/permitted_params.rb|621 col 3| Lint/IneffectiveAccessModifier: protected (on line 386) does not make singleton methods protected. Use protected inside a class << self block instead.
app/models/project.rb|45 col 3| Rails/HasManyOrHasOneDependent: Specify a :dependent option.
app/models/project.rb|45 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|53 col 3| Rails/HasManyOrHasOneDependent: Specify a :dependent option.
app/models/project.rb|54 col 3| Rails/HasManyOrHasOneDependent: Specify a :dependent option.
app/models/project.rb|54 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|61 col 3| Rails/HasAndBelongsToMany: Prefer has_many :through to has_and_belongs_to_many.
app/models/project.rb|64 col 3| Rails/HasManyOrHasOneDependent: Specify a :dependent option.
app/models/project.rb|64 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|69 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|75 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|76 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|77 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/project.rb|82 col 3| Rails/HasAndBelongsToMany: Prefer has_many :through to has_and_belongs_to_many.
app/models/project.rb|372 col 5| Metrics/AbcSize: Assignment Branch Condition size for build_projects_hierarchy is too high. [<8, 23, 6> 25.08/17]
app/models/query.rb|40 col 3| Rails/HasManyOrHasOneDependent: Specify a :dependent option.
app/models/query.rb|381 col 3| Metrics/AbcSize: Assignment Branch Condition size for work_package_journals is too high. [<1, 20, 1> 20.05/17]
app/models/user.rb|46 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/user.rb|67 col 3| Rails/HasManyOrHasOneDependent: Specify a :dependent option.
app/models/user.rb|67 col 3| Rails/InverseOf: Specify an :inverse_of option.
app/models/user.rb|72 col 3| Rails/HasManyOrHasOneDependent: Specify a :dependent option.
app/models/user.rb|102 col 35| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
app/models/user.rb|209 col 3| Metrics/PerceivedComplexity: Perceived complexity for try_authentication_for_existing_user is too high. [10/8]
app/models/user.rb|228 col 15| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_plaintext_value.
app/models/user.rb|264 col 13| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_plaintext_value.
app/models/user.rb|283 col 5| Lint/DuplicateBranch: Duplicate branch body detected.
app/models/user.rb|383 col 43| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
app/models/user.rb|411 col 13| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_plaintext_value.
app/models/user.rb|455 col 12| [Correctable] Rails/Date: Do not use Date.today without zone. Use Time.zone.today instead.
app/models/user.rb|544 col 3| Metrics/AbcSize: Assignment Branch Condition size for anonymous is too high. [<9, 15, 3> 17.75/17]
app/models/user.rb|613 col 3| Lint/IneffectiveAccessModifier: private (on line 611) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/user.rb|642 col 16| [Correctable] Style/SlicingWithRange: Prefer ary[n..] over ary[n..-1].
app/models/user.rb|652 col 3| Lint/IneffectiveAccessModifier: private (on line 611) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/user.rb|660 col 3| Lint/IneffectiveAccessModifier: private (on line 611) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/user.rb|661 col 12| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_login.
app/models/user.rb|666 col 3| Lint/IneffectiveAccessModifier: private (on line 611) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/user.rb|670 col 3| Lint/IneffectiveAccessModifier: private (on line 611) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/user.rb|686 col 12| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
app/models/user.rb|698 col 38| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
app/models/user.rb|701 col 3| Lint/IneffectiveAccessModifier: private (on line 611) does not make singleton methods private. Use private_class_method or private inside a class << self block instead.
app/models/user.rb|702 col 6| [Correctable] Rails/DynamicFindBy: Use find_by instead of dynamic find_by_login.
app/models/user_preference.rb|35 col 13| [Correctable] Rails/RedundantPresenceValidationOnBelongsTo: Remove explicit presence validation for user.
app/models/work_package.rb|526 col 23| [Correctable] Lint/RedundantSafeNavigation: Redundant safe navigation detected.
config/constants/settings/definition.rb|995 col 7| Lint/DuplicateHashKey: Duplicated key in hash literal.
config/constants/settings/definition.rb|1081 col 5| Metrics/AbcSize: Assignment Branch Condition size for initialize is too high. [<8, 16, 3> 18.14/17]
config/routes.rb|86 col 37| [Correctable] Layout/ExtraSpacing: Unnecessary spacing detected.
db/migrate/20180419061910_timestamp_for_caching.rb|47 col 39| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
db/migrate/20180419061910_timestamp_for_caching.rb|47 col 61| [Correctable] Rails/TimeZone: Do not use Time.now without zone. Use one of Time.zone.now, Time.current, Time.now.in_time_zone, Time.now.utc, Time.now.getlocal, Time.now.xmlschema, Time.now.iso8601, Time.now.jisx0301, Time.now.rfc3339, Time.now.httpdate, Time.now.to_i, Time.now.to_f instead.
db/migrate/20221026132134_bigint_primary_and_foreign_keys.rb|29 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
lib/api/v3/work_packages/eager_loading/checksum.rb|64 col 15| [Correctable] Rails/SquishedSQLHeredocs: Use <<-SQL.squish instead of <<-SQL.
lib/api/v3/work_packages/work_package_collection_representer.rb|83 col 38| [Correctable] Style/SafeNavigation: Use safe navigation (&.) instead of checking if an object exists before calling the method.
lib/api/v3/work_packages/work_package_eager_loading_wrapper.rb|88 col 11| Metrics/AbcSize: Assignment Branch Condition size for add_eager_loading is too high. [<2, 25, 0> 25.08/17]
lib/open_project/object_linking.rb|120 col 68| Style/OptionalBooleanParameter: Prefer keyword arguments for arguments with a boolean default value; use show_icon: false instead of show_icon = false.
lib/open_project/object_linking.rb|127 col 11| Rails/OutputSafety: Tagging a string as html safe may be a security risk.
lib/redmine/menu_manager/menu_helper.rb|39 col 3| Metrics/PerceivedComplexity: Perceived complexity for render_main_menu is too high. [9/8]
lib/redmine/menu_manager/menu_helper.rb|115 col 3| Metrics/AbcSize: Assignment Branch Condition size for render_drop_down_label_node is too high. [<4, 22, 5> 22.91/17]
lib/redmine/menu_manager/menu_helper.rb|123 col 42| Rails/OutputSafety: Tagging a string as html safe may be a security risk.
lib/redmine/menu_manager/menu_helper.rb|125 col 131| Layout/LineLength: Line is too long. [132/130]
lib/redmine/menu_manager/menu_helper.rb|139 col 3| [Correctable] Lint/RedundantCopDisableDirective: Unnecessary disabling of Metrics/AbcSize.
lib/redmine/menu_manager/menu_helper.rb|224 col 3| Metrics/PerceivedComplexity: Perceived complexity for render_single_menu_node is too high. [10/8]
lib/redmine/menu_manager/menu_helper.rb|295 col 9| Rails/OutputSafety: Tagging a string as html safe may be a security risk.
lib_static/plugins/acts_as_journalized/lib/journal_changes.rb|30 col 3| Metrics/AbcSize: Assignment Branch Condition size for get_changes is too high. [<2, 25, 9> 26.65/17]
lib_static/plugins/acts_as_journalized/lib/journal_changes.rb|30 col 3| Metrics/PerceivedComplexity: Perceived complexity for get_changes is too high. [10/8]
modules/boards/spec/features/action_boards/assignee_board_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/action_boards/assignee_board_spec.rb|31 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/action_boards/assignee_board_spec.rb|85 col 11| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/boards/spec/features/action_boards/assignee_board_spec.rb|192 col 11| RSpec/ContextWording: Context description should match /^and\b/, /^as\b/, /^for\b/, /^having\b/, /^if\b/, /^on\b/, /^to\b/, /^unless\b/, /^via\b/, /^when\b/, /^with\b/, /^within\b/, or /^without\b/.
modules/boards/spec/features/action_boards/custom_field_filters_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/action_boards/custom_field_filters_spec.rb|31 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/action_boards/status_board_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/action_boards/status_board_spec.rb|31 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/action_boards/status_type_moving_board_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/action_boards/status_type_moving_board_spec.rb|31 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/action_boards/subproject_board_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/action_boards/subproject_board_spec.rb|31 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/action_boards/subproject_board_spec.rb|43 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/boards/spec/features/action_boards/subproject_board_spec.rb|46 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/boards/spec/features/action_boards/version_board_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/action_boards/version_board_spec.rb|31 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/board_conflicts_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/board_conflicts_spec.rb|31 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/board_conflicts_spec.rb|52 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/boards/spec/features/board_conflicts_spec.rb|53 col 3| RSpec/IndexedLet: This let statement uses index in its name. Please give it a meaningful name.
modules/boards/spec/features/board_highlighting_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/board_highlighting_spec.rb|31 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/board_management_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/board_management_spec.rb|31 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/board_navigation_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/board_navigation_spec.rb|31 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/board_overview_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/board_reference_work_package_spec.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/board_reference_work_package_spec.rb|31 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/support/board_index_page.rb|37 col 5| Lint/MissingSuper: Call super to initialize state of the parent class.
modules/boards/spec/features/support/board_page.rb|30 col 19| [Correctable] Style/RedundantCurrentDirectoryInPath: Remove the redundant current directory path.
modules/boards/spec/features/support/board_page.rb|247 col 12| Capybara/SpecificActions: Prefer click_button over find('button').click.
modules/ldap_groups/app/controllers/ldap_groups/synchronized_filters_controller.rb|62 col 9| [Correctable] Rails/ActionControllerFlashBeforeRender: Use flash.now before render.
modules/ldap_groups/app/controllers/ldap_groups/synchronized_filters_controller.rb|66 col 9| [Correctable] Rails/ActionControllerFlashBeforeRender: Use flash.now before render.
modules/ldap_groups/app/services/ldap_groups/synchronization_service.rb|9 col 5| Metrics/AbcSize: Assignment Branch Condition size for call is too high. [<4, 19, 1> 19.44/17]
... (Too many findings. Dropped some findings)

Annotations

Check warning on line 4 in app/components/icon_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] app/components/icon_component.rb#L4

Lint/MissingSuper: Call super to initialize state of the parent class.
Raw output
app/components/icon_component.rb:4:3: W: Lint/MissingSuper: Call super to initialize state of the parent class.
  def initialize(name:, classnames: '') ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 4 in app/components/switch_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] app/components/switch_component.rb#L4

Lint/MissingSuper: Call super to initialize state of the parent class.
Raw output
app/components/switch_component.rb:4:3: W: Lint/MissingSuper: Call super to initialize state of the parent class.
  def initialize(checked: false, disabled: false, name: nil) ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 7 in app/components/tooltip_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] app/components/tooltip_component.rb#L7

Lint/MissingSuper: Call super to initialize state of the parent class.
Raw output
app/components/tooltip_component.rb:7:3: W: Lint/MissingSuper: Call super to initialize state of the parent class.
  def initialize(alignment: 'bottom-center') ...
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 134 in app/models/user_preference.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] 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.
Raw output
app/models/user_preference.rb:134:3: W: Lint/DuplicateMethods: Method UserPreference#theme is defined at both app/models/user_preference.rb:126 and app/models/user_preference.rb:134.
  def theme
  ^^^^^^^^^

Check failure on line 5 in config/initializers/lookbook.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] config/initializers/lookbook.rb#L5

[Correctable] Rails/RootPathnameMethods: Rails.root is a Pathname so you can just append #read.
Raw output
config/initializers/lookbook.rb:5:34: C: [Correctable] Rails/RootPathnameMethods: Rails.root is a Pathname so you can just append #read.
  config.lookbook.project_logo = File.read Rails.root.join('app/assets/images/icon_logo_white.svg')
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 6 in config/initializers/lookbook.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] config/initializers/lookbook.rb#L6

[Correctable] Rails/RootPathnameMethods: Rails.root is a Pathname so you can just append #read.
Raw output
config/initializers/lookbook.rb:6:32: C: [Correctable] Rails/RootPathnameMethods: Rails.root is a Pathname so you can just append #read.
  config.lookbook.ui_favicon = File.read Rails.root.join('app/assets/images/icon_logo.svg')
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 16 in config/initializers/lookbook.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] config/initializers/lookbook.rb#L16

[Correctable] Lint/PercentStringArray: Within %w/%W, quotes and ',' are unnecessary and may be unwanted in the resulting strings.
Raw output
config/initializers/lookbook.rb:16:19: W: [Correctable] Lint/PercentStringArray: Within %w/%W, quotes and ',' are unnecessary and may be unwanted in the resulting strings.
      script_src: %w('unsafe-eval' 'unsafe-inline')
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 21 in config/initializers/lookbook.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] config/initializers/lookbook.rb#L21

Lint/ConstantDefinitionInBlock: Do not define constants this way within a block.
Raw output
config/initializers/lookbook.rb:21:5: W: Lint/ConstantDefinitionInBlock: Do not define constants this way within a block.
    module LookbookCspExtender ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 38 in config/initializers/lookbook.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] config/initializers/lookbook.rb#L38

[Correctable] Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
Raw output
config/initializers/lookbook.rb:38:33: C: [Correctable] Style/TrailingCommaInArrayLiteral: Avoid comma after the last item of an array.
      Lookbook::EmbedsController,
                                ^

Check warning on line 31 in modules/meeting/app/components/base/op_primer/box_collection_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_primer/box_collection_component.rb#L31

Lint/MissingSuper: Call super to initialize state of the parent class.
Raw output
modules/meeting/app/components/base/op_primer/box_collection_component.rb:31:5: W: Lint/MissingSuper: Call super to initialize state of the parent class.
    def initialize(**system_arguments) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 31 in modules/meeting/app/components/base/op_primer/box_collection_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_primer/box_collection_component.rb#L31

[Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
Raw output
modules/meeting/app/components/base/op_primer/box_collection_component.rb:31:20: C: [Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
    def initialize(**system_arguments)
                   ^^^^^^^^^^^^^^^^^^

Check failure on line 32 in modules/meeting/app/components/base/op_primer/box_collection_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_primer/box_collection_component.rb#L32

[Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
Raw output
modules/meeting/app/components/base/op_primer/box_collection_component.rb:32:45: C: [Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
      @system_arguments = deny_tag_argument(**system_arguments) || {}
                                            ^^^^^^^^^^^^^^^^^^

Check failure on line 36 in modules/meeting/app/components/base/op_primer/box_collection_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_primer/box_collection_component.rb#L36

[Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator ||.
Raw output
modules/meeting/app/components/base/op_primer/box_collection_component.rb:36:41: C: [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator ||.
      Primer::Box.new(**system_arguments||{})
                                        ^^

Check warning on line 31 in modules/meeting/app/components/base/op_primer/flex_layout_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_primer/flex_layout_component.rb#L31

Lint/MissingSuper: Call super to initialize state of the parent class.
Raw output
modules/meeting/app/components/base/op_primer/flex_layout_component.rb:31:5: W: Lint/MissingSuper: Call super to initialize state of the parent class.
    def initialize(**system_arguments) ...
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check failure on line 31 in modules/meeting/app/components/base/op_primer/flex_layout_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_primer/flex_layout_component.rb#L31

[Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
Raw output
modules/meeting/app/components/base/op_primer/flex_layout_component.rb:31:20: C: [Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
    def initialize(**system_arguments)
                   ^^^^^^^^^^^^^^^^^^

Check failure on line 32 in modules/meeting/app/components/base/op_primer/flex_layout_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_primer/flex_layout_component.rb#L32

[Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
Raw output
modules/meeting/app/components/base/op_primer/flex_layout_component.rb:32:45: C: [Correctable] Style/ArgumentsForwarding: Use anonymous keyword arguments forwarding (**).
      @system_arguments = deny_tag_argument(**system_arguments) || {}
                                            ^^^^^^^^^^^^^^^^^^

Check failure on line 45 in modules/meeting/app/components/base/op_primer/flex_layout_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_primer/flex_layout_component.rb#L45

[Correctable] Naming/BlockForwarding: Use anonymous block forwarding.
Raw output
modules/meeting/app/components/base/op_primer/flex_layout_component.rb:45:43: C: [Correctable] Naming/BlockForwarding: Use anonymous block forwarding.
    def child_component(system_arguments, &block)
                                          ^^^^^^

Check failure on line 47 in modules/meeting/app/components/base/op_primer/flex_layout_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_primer/flex_layout_component.rb#L47

[Correctable] Style/RedundantReturn: Redundant return detected.
Raw output
modules/meeting/app/components/base/op_primer/flex_layout_component.rb:47:9: C: [Correctable] Style/RedundantReturn: Redundant return detected.
        return OpPrimer::FlexLayoutComponent.new(**system_arguments.except(:flex_layout), &block)
        ^^^^^^

Check failure on line 47 in modules/meeting/app/components/base/op_primer/flex_layout_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_primer/flex_layout_component.rb#L47

[Correctable] Naming/BlockForwarding: Use anonymous block forwarding.
Raw output
modules/meeting/app/components/base/op_primer/flex_layout_component.rb:47:91: C: [Correctable] Naming/BlockForwarding: Use anonymous block forwarding.
        return OpPrimer::FlexLayoutComponent.new(**system_arguments.except(:flex_layout), &block)
                                                                                          ^^^^^^

Check failure on line 49 in modules/meeting/app/components/base/op_primer/flex_layout_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_primer/flex_layout_component.rb#L49

[Correctable] Style/RedundantReturn: Redundant return detected.
Raw output
modules/meeting/app/components/base/op_primer/flex_layout_component.rb:49:9: C: [Correctable] Style/RedundantReturn: Redundant return detected.
        return Primer::Box.new(**system_arguments||{})
        ^^^^^^

Check failure on line 49 in modules/meeting/app/components/base/op_primer/flex_layout_component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_primer/flex_layout_component.rb#L49

[Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator ||.
Raw output
modules/meeting/app/components/base/op_primer/flex_layout_component.rb:49:50: C: [Correctable] Layout/SpaceAroundOperators: Surrounding space missing for operator ||.
        return Primer::Box.new(**system_arguments||{})
                                                 ^^

Check failure on line 32 in modules/meeting/app/components/base/op_turbo/component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_turbo/component.rb#L32

[Correctable] Style/RedundantSelf: Redundant self detected.
Raw output
modules/meeting/app/components/base/op_turbo/component.rb:32:28: C: [Correctable] Style/RedundantSelf: Redundant self detected.
      component_instance = self.new(**kwargs)
                           ^^^^

Check failure on line 34 in modules/meeting/app/components/base/op_turbo/component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_turbo/component.rb#L34

[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
Raw output
modules/meeting/app/components/base/op_turbo/component.rb:34:25: C: [Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
        action: :update, 
                        ^

Check failure on line 35 in modules/meeting/app/components/base/op_turbo/component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_turbo/component.rb#L35

[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
Raw output
modules/meeting/app/components/base/op_turbo/component.rb:35:48: C: [Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.
        target: component_instance.wrapper_key, 
                                               ^

Check failure on line 45 in modules/meeting/app/components/base/op_turbo/component.rb

See this annotation in the file changed.

@github-actions github-actions / rubocop

[rubocop] modules/meeting/app/components/base/op_turbo/component.rb#L45

[Correctable] Style/RedundantSelf: Redundant self detected.
Raw output
modules/meeting/app/components/base/op_turbo/component.rb:45:7: C: [Correctable] Style/RedundantSelf: Redundant self detected.
      self.name.underscore.gsub("/", "-").gsub("_", "-")
      ^^^^