Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

chore[Op#54456]: Add rubocop ignore statements

Kabiru Mwenja95915f225a99
diff --git a/app/components/admin/settings/project_custom_fields/project_attribute_detail_header_component.rb b/app/components/admin/settings/project_custom_fields/project_attribute_detail_header_component.rb
index b75aeb59537..be45ba21bdc 100644
--- a/app/components/admin/settings/project_custom_fields/project_attribute_detail_header_component.rb
+++ b/app/components/admin/settings/project_custom_fields/project_attribute_detail_header_component.rb
@@ -31,7 +31,7 @@
module Admin
module Settings
module ProjectCustomFields
- class ProjectAttributeDetailHeaderComponent < ApplicationComponent
+ class ProjectAttributeDetailHeaderComponent < ApplicationComponent # rubocop:disable OpenProject/AddPreviewForViewComponent
TAB_NAVS = %i[
project_custom_field_edit
project_custom_field_project_mappings
diff --git a/app/components/settings/project_custom_fields/project_custom_field_mapping/row_component.rb b/app/components/settings/project_custom_fields/project_custom_field_mapping/row_component.rb
index 73ab44fce18..0d346fe4659 100644
--- a/app/components/settings/project_custom_fields/project_custom_field_mapping/row_component.rb
+++ b/app/components/settings/project_custom_fields/project_custom_field_mapping/row_component.rb
@@ -29,7 +29,7 @@
module Settings
module ProjectCustomFields
module ProjectCustomFieldMapping
- class RowComponent < Projects::RowComponent
+ class RowComponent < Projects::RowComponent # rubocop:disable OpenProject/AddPreviewForViewComponent
include OpTurbo::Streamable
def wrapper_uniq_by
diff --git a/app/components/settings/project_custom_fields/project_custom_field_mapping/table_component.rb b/app/components/settings/project_custom_fields/project_custom_field_mapping/table_component.rb
index e61d630c5c3..f7888600814 100644
--- a/app/components/settings/project_custom_fields/project_custom_field_mapping/table_component.rb
+++ b/app/components/settings/project_custom_fields/project_custom_field_mapping/table_component.rb
@@ -29,7 +29,7 @@
module Settings
module ProjectCustomFields
module ProjectCustomFieldMapping
- class TableComponent < Projects::TableComponent
+ class TableComponent < Projects::TableComponent # rubocop:disable OpenProject/AddPreviewForViewComponent
end
end
end
diff --git a/app/controllers/admin/settings/project_custom_fields_controller.rb b/app/controllers/admin/settings/project_custom_fields_controller.rb
index 21fa7d6205a..ebc5e337468 100644
--- a/app/controllers/admin/settings/project_custom_fields_controller.rb
+++ b/app/controllers/admin/settings/project_custom_fields_controller.rb
@@ -34,11 +34,13 @@ module Admin::Settings
menu_item :project_custom_fields_settings
+ # rubocop:disable Rails/LexicallyScopedActionFilter
before_action :set_sections, only: %i[show index edit update move drop]
before_action :find_custom_field,
only: %i(show edit project_mappings unlink update destroy delete_option reorder_alphabetical move drop)
before_action :prepare_custom_option_position, only: %i(update create)
before_action :find_custom_option, only: :delete_option
+ # rubocop:enable Rails/LexicallyScopedActionFilter
def show_local_breadcrumb
false