diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 8c707ea4fc..5938c28a08 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by -# `rubocop --auto-gen-config` -# on 2024-07-18 12:46:04 UTC using RuboCop version 1.65.0. +# `rubocop --auto-gen-config --auto-gen-only-exclude --no-exclude-limit` +# on 2024-08-01 19:59:56 UTC using RuboCop version 1.65.1. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -99,21 +99,217 @@ Lint/Void: - 'app/classes/query/modules/sequence_operators.rb' - 'app/models/observation.rb' -# Offense count: 343 -# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. +# Offense count: 350 +# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max. Metrics/AbcSize: - Max: 78 + Exclude: + - 'app/classes/api2/core/parameters.rb' + - 'app/classes/api2/external_link_api.rb' + - 'app/classes/api2/image_api.rb' + - 'app/classes/api2/location_api.rb' + - 'app/classes/api2/name_api.rb' + - 'app/classes/api2/observation_api.rb' + - 'app/classes/api2/parsers/time_parser.rb' + - 'app/classes/api2/sequence_api.rb' + - 'app/classes/api2/species_list_api.rb' + - 'app/classes/api2/user_api.rb' + - 'app/classes/auto_complete/by_word.rb' + - 'app/classes/auto_complete/for_clade.rb' + - 'app/classes/auto_complete/for_herbarium.rb' + - 'app/classes/auto_complete/for_location.rb' + - 'app/classes/auto_complete/for_location_containing.rb' + - 'app/classes/auto_complete/for_name.rb' + - 'app/classes/auto_complete/for_region.rb' + - 'app/classes/auto_complete/for_user.rb' + - 'app/classes/checklist.rb' + - 'app/classes/eol_data.rb' + - 'app/classes/ip_stats.rb' + - 'app/classes/mappable/collapsible_collection_of_objects.rb' + - 'app/classes/mappable/map_set.rb' + - 'app/classes/pattern_search/base.rb' + - 'app/classes/pattern_search/error/bad_term_error.rb' + - 'app/classes/pattern_search/term.rb' + - 'app/classes/pattern_search/term/dates.rb' + - 'app/classes/prawn/field_slip_card.rb' + - 'app/classes/project_lat_lngs.rb' + - 'app/classes/query/herbarium_base.rb' + - 'app/classes/query/modules/conditions.rb' + - 'app/classes/query/modules/datetime.rb' + - 'app/classes/query/modules/high_level_queries.rb' + - 'app/classes/query/modules/joining.rb' + - 'app/classes/query/modules/sequence_operators.rb' + - 'app/classes/query/modules/sql.rb' + - 'app/classes/query/modules/validation.rb' + - 'app/classes/report/adolf.rb' + - 'app/classes/report/darwin/observations.rb' + - 'app/classes/report/fundis.rb' + - 'app/classes/report/raw.rb' + - 'app/classes/report/symbiota.rb' + - 'app/classes/site_data.rb' + - 'app/classes/suggestion.rb' + - 'app/classes/tree.rb' + - 'app/controllers/account/login_controller.rb' + - 'app/controllers/account/profile/images_controller.rb' + - 'app/controllers/account/profile_controller.rb' + - 'app/controllers/account_controller.rb' + - 'app/controllers/admin/blocked_ips_controller.rb' + - 'app/controllers/admin/session_controller.rb' + - 'app/controllers/api2_controller.rb' + - 'app/controllers/application_controller.rb' + - 'app/controllers/articles_controller.rb' + - 'app/controllers/checklists_controller.rb' + - 'app/controllers/collection_numbers_controller.rb' + - 'app/controllers/comments_controller.rb' + - 'app/controllers/concerns/descriptions.rb' + - 'app/controllers/concerns/descriptions/merges.rb' + - 'app/controllers/concerns/descriptions/moves.rb' + - 'app/controllers/concerns/descriptions/permissions.rb' + - 'app/controllers/concerns/descriptions/publish.rb' + - 'app/controllers/field_slips_controller.rb' + - 'app/controllers/herbaria/curator_requests_controller.rb' + - 'app/controllers/herbaria/curators_controller.rb' + - 'app/controllers/herbaria_controller.rb' + - 'app/controllers/herbarium_records_controller.rb' + - 'app/controllers/images/votes/anonymity_controller.rb' + - 'app/controllers/images/votes_controller.rb' + - 'app/controllers/interests_controller.rb' + - 'app/controllers/locations/descriptions_controller.rb' + - 'app/controllers/locations_controller.rb' + - 'app/controllers/names/classification/inherit_controller.rb' + - 'app/controllers/names/descriptions_controller.rb' + - 'app/controllers/names/eol_data/preview_controller.rb' + - 'app/controllers/names/synonyms/deprecate_controller.rb' + - 'app/controllers/names/synonyms_controller.rb' + - 'app/controllers/names/trackers_controller.rb' + - 'app/controllers/names_controller.rb' + - 'app/controllers/observations/images_controller.rb' + - 'app/controllers/observations/locations_controller.rb' + - 'app/controllers/observations/maps_controller.rb' + - 'app/controllers/observations/namings/votes_controller.rb' + - 'app/controllers/observations/namings_controller.rb' + - 'app/controllers/observations/species_lists_controller.rb' + - 'app/controllers/observations_controller/create.rb' + - 'app/controllers/observations_controller/destroy.rb' + - 'app/controllers/observations_controller/edit_and_update.rb' + - 'app/controllers/observations_controller/new.rb' + - 'app/controllers/observations_controller/shared_form_methods.rb' + - 'app/controllers/observations_controller/show.rb' + - 'app/controllers/observations_controller/validators.rb' + - 'app/controllers/projects/admin_requests_controller.rb' + - 'app/controllers/projects/field_slips_controller.rb' + - 'app/controllers/projects/members_controller.rb' + - 'app/controllers/projects_controller.rb' + - 'app/controllers/publications_controller.rb' + - 'app/controllers/rss_logs_controller.rb' + - 'app/controllers/species_lists/name_lists_controller.rb' + - 'app/controllers/species_lists/projects_controller.rb' + - 'app/controllers/species_lists/shared_private_methods.rb' + - 'app/controllers/species_lists/shared_render_methods.rb' + - 'app/controllers/translations_controller.rb' + - 'app/extensions/string_extensions.rb' + - 'app/extensions/symbol_extensions.rb' + - 'app/helpers/api2_inline_helper.rb' + - 'app/helpers/api_keys_helper.rb' + - 'app/helpers/application_helper.rb' + - 'app/helpers/carousel_helper.rb' + - 'app/helpers/content_helper.rb' + - 'app/helpers/descriptions_helper.rb' + - 'app/helpers/footer_helper.rb' + - 'app/helpers/forms_helper.rb' + - 'app/helpers/images_helper.rb' + - 'app/helpers/link_helper.rb' + - 'app/helpers/map_helper.rb' + - 'app/helpers/matrix_box_helper.rb' + - 'app/helpers/names_helper.rb' + - 'app/helpers/namings_helper.rb' + - 'app/helpers/observations_helper.rb' + - 'app/helpers/pagination_helper.rb' + - 'app/helpers/table_helper.rb' + - 'app/helpers/tabs/descriptions_helper.rb' + - 'app/helpers/tabs/projects_helper.rb' + - 'app/helpers/title_and_tabset_helper.rb' + - 'app/helpers/user_stats_helper.rb' + - 'app/jobs/field_slip_job.rb' + - 'app/models/abstract_model.rb' + - 'app/models/api_key.rb' + - 'app/models/description.rb' + - 'app/models/field_slip.rb' + - 'app/models/image.rb' + - 'app/models/interest.rb' + - 'app/models/language_exporter.rb' + - 'app/models/location.rb' + - 'app/models/location_description.rb' + - 'app/models/name.rb' + - 'app/models/name/change.rb' + - 'app/models/name/create.rb' + - 'app/models/name/format.rb' + - 'app/models/name/lifeform.rb' + - 'app/models/name/parse.rb' + - 'app/models/name/spelling.rb' + - 'app/models/name/taxonomy.rb' + - 'app/models/name_description.rb' + - 'app/models/name_parse.rb' + - 'app/models/name_sorter.rb' + - 'app/models/name_tracker.rb' + - 'app/models/naming.rb' + - 'app/models/naming/name_resolver.rb' + - 'app/models/observation.rb' + - 'app/models/observation/consensus_calculator.rb' + - 'app/models/observation/naming_consensus.rb' + - 'app/models/project.rb' + - 'app/models/queued_email.rb' + - 'app/models/queued_email/location_change.rb' + - 'app/models/queued_email/name_change.rb' + - 'app/models/queued_email/observation_change.rb' + - 'app/models/species_list.rb' + - 'app/models/synonym.rb' + - 'app/models/translation_string.rb' + - 'app/models/user.rb' + - 'app/models/user_stats.rb' + - 'app/models/visual_group.rb' + - 'app/models/vote.rb' + - 'app/presenters/image_presenter.rb' + - 'app/presenters/matrix_box_presenter.rb' + - 'lib/core_extensions/action_view/log_subscriber.rb' + - 'lib/tasks/lang.rake' + - 'script/bulk_name_change' + - 'script/config.rb' + - 'script/refresh_sitemap' + - 'script/update_ip_stats.rb' -# Offense count: 31 -# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. +# Offense count: 32 +# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns. # AllowedMethods: refine Metrics/BlockLength: - Max: 248 + Exclude: + - 'app/controllers/concerns/descriptions.rb' + - 'app/controllers/concerns/descriptions/merges.rb' + - 'app/controllers/concerns/descriptions/moves.rb' + - 'app/controllers/concerns/descriptions/publish.rb' + - 'app/extensions/symbol_extensions.rb' + - 'app/helpers/forms_helper.rb' + - 'app/views/controllers/api2/_image.xml.builder' + - 'app/views/controllers/api2/_name.xml.builder' + - 'app/views/controllers/api2/_observation.xml.builder' + - 'app/views/controllers/api2/_user.xml.builder' + - 'app/views/controllers/api2/results.xml.builder' + - 'app/views/controllers/names/eol_data/show.xml.builder' + - 'config/consts.rb' + - 'config/environments/development.rb' + - 'config/environments/production.rb' + - 'config/environments/test.rb' + - 'config/routes.rb' + - 'lib/tasks/cache.rake' + - 'lib/tasks/email.rake' + - 'lib/tasks/lang.rake' + - 'script/check_for_broken_references' + - 'script/mushroom_mapper.rb' # Offense count: 1 -# Configuration parameters: CountBlocks, CountModifierForms. +# Configuration parameters: CountBlocks, CountModifierForms, Max. Metrics/BlockNesting: - Max: 4 + Exclude: + - 'test/controller_extensions.rb' # Offense count: 4 # Configuration parameters: CountComments, Max, CountAsOne. @@ -124,15 +320,110 @@ Metrics/ClassLength: - 'app/models/abstract_model.rb' - 'app/models/description.rb' -# Offense count: 118 -# Configuration parameters: AllowedMethods, AllowedPatterns. +# Offense count: 122 +# Configuration parameters: AllowedMethods, AllowedPatterns, Max. Metrics/CyclomaticComplexity: - Max: 28 + Exclude: + - 'app/classes/api2/core/parameters.rb' + - 'app/classes/api2/parameter_declaration.rb' + - 'app/classes/api2/parsers/date_parser.rb' + - 'app/classes/api2/parsers/time_parser.rb' + - 'app/classes/auto_complete/by_word.rb' + - 'app/classes/checklist.rb' + - 'app/classes/mappable/box.rb' + - 'app/classes/mappable/collapsible_collection_of_objects.rb' + - 'app/classes/mappable/map_set.rb' + - 'app/classes/pattern_search/term.rb' + - 'app/classes/pattern_search/term/dates.rb' + - 'app/classes/query/modules/conditions.rb' + - 'app/classes/query/modules/datetime.rb' + - 'app/classes/query/modules/joining.rb' + - 'app/classes/query/modules/serialization.rb' + - 'app/classes/query/modules/sql.rb' + - 'app/classes/site_data.rb' + - 'app/classes/tree.rb' + - 'app/controllers/admin/session_controller.rb' + - 'app/controllers/collection_numbers_controller.rb' + - 'app/controllers/concerns/descriptions.rb' + - 'app/controllers/concerns/descriptions/merges.rb' + - 'app/controllers/concerns/descriptions/permissions.rb' + - 'app/controllers/images_controller.rb' + - 'app/controllers/locations/descriptions_controller.rb' + - 'app/controllers/locations_controller.rb' + - 'app/controllers/lookups_controller.rb' + - 'app/controllers/names/classification/shared_private_methods.rb' + - 'app/controllers/names/descriptions_controller.rb' + - 'app/controllers/names/eol_data/preview_controller.rb' + - 'app/controllers/names/synonyms_controller.rb' + - 'app/controllers/observations_controller/new.rb' + - 'app/controllers/observations_controller/shared_form_methods.rb' + - 'app/controllers/observations_controller/validators.rb' + - 'app/controllers/projects_controller.rb' + - 'app/controllers/rss_logs_controller.rb' + - 'app/controllers/species_lists/shared_private_methods.rb' + - 'app/controllers/translations_controller.rb' + - 'app/extensions/string_extensions.rb' + - 'app/extensions/symbol_extensions.rb' + - 'app/helpers/application_helper.rb' + - 'app/helpers/forms_helper.rb' + - 'app/helpers/link_helper.rb' + - 'app/helpers/map_helper.rb' + - 'app/helpers/matrix_box_helper.rb' + - 'app/helpers/pagination_helper.rb' + - 'app/helpers/title_and_tabset_helper.rb' + - 'app/helpers/user_stats_helper.rb' + - 'app/models/api_key.rb' + - 'app/models/image.rb' + - 'app/models/language_exporter.rb' + - 'app/models/location.rb' + - 'app/models/location_description.rb' + - 'app/models/name.rb' + - 'app/models/name/change.rb' + - 'app/models/name/create.rb' + - 'app/models/name/parse.rb' + - 'app/models/name/spelling.rb' + - 'app/models/name/synonymy.rb' + - 'app/models/name/taxonomy.rb' + - 'app/models/name_description.rb' + - 'app/models/name_sorter.rb' + - 'app/models/naming.rb' + - 'app/models/naming/name_resolver.rb' + - 'app/models/observation.rb' + - 'app/models/observation/naming_consensus.rb' + - 'app/models/queued_email.rb' + - 'app/models/queued_email/location_change.rb' + - 'app/models/queued_email/name_change.rb' + - 'app/models/queued_email/observation_change.rb' + - 'app/models/species_list.rb' + - 'app/models/translation_string.rb' + - 'app/models/user_stats.rb' + - 'app/models/vote.rb' + - 'app/presenters/image_presenter.rb' + - 'app/presenters/matrix_box_presenter.rb' + - 'script/bulk_name_change' + - 'script/update_ip_stats.rb' -# Offense count: 19 +# Offense count: 20 # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns. Metrics/MethodLength: - Enabled: false + Exclude: + - 'app/classes/query/modules/joining.rb' + - 'app/classes/query/modules/sql.rb' + - 'app/classes/tree.rb' + - 'app/controllers/concerns/descriptions.rb' + - 'app/controllers/concerns/descriptions/permissions.rb' + - 'app/controllers/concerns/descriptions/publish.rb' + - 'app/controllers/locations_controller.rb' + - 'app/controllers/names/eol_data/preview_controller.rb' + - 'app/extensions/symbol_extensions.rb' + - 'app/helpers/forms_helper.rb' + - 'app/helpers/pagination_helper.rb' + - 'app/models/image.rb' + - 'app/models/language_exporter.rb' + - 'app/models/location.rb' + - 'app/models/name/parse.rb' + - 'app/models/name_sorter.rb' + - 'script/bulk_name_change' # Offense count: 4 # Configuration parameters: CountComments, Max, CountAsOne. @@ -143,15 +434,86 @@ Metrics/ModuleLength: - 'app/models/language_exporter.rb' - 'app/models/name/parse.rb' -# Offense count: 8 -# Configuration parameters: CountKeywordArgs, MaxOptionalParameters. +# Offense count: 9 +# Configuration parameters: Max, CountKeywordArgs, MaxOptionalParameters. Metrics/ParameterLists: - Max: 9 + Exclude: + - 'app/classes/mappable/minimal_location.rb' + - 'app/models/queued_email/name_change.rb' + - 'script/mushroom_mapper.rb' + - 'test/controller_extensions.rb' + - 'test/controllers/observations_controller/observations_controller_create_test.rb' + - 'test/controllers/projects/members_controller_test.rb' + - 'test/models/collapsible_map_test.rb' -# Offense count: 91 -# Configuration parameters: AllowedMethods, AllowedPatterns. +# Offense count: 94 +# Configuration parameters: AllowedMethods, AllowedPatterns, Max. Metrics/PerceivedComplexity: - Max: 29 + Exclude: + - 'app/classes/api2/parsers/date_parser.rb' + - 'app/classes/api2/parsers/time_parser.rb' + - 'app/classes/auto_complete/by_word.rb' + - 'app/classes/checklist.rb' + - 'app/classes/mappable/collapsible_collection_of_objects.rb' + - 'app/classes/mappable/map_set.rb' + - 'app/classes/query/modules/conditions.rb' + - 'app/classes/query/modules/datetime.rb' + - 'app/classes/query/modules/joining.rb' + - 'app/classes/query/modules/sql.rb' + - 'app/classes/tree.rb' + - 'app/controllers/admin/session_controller.rb' + - 'app/controllers/collection_numbers_controller.rb' + - 'app/controllers/concerns/descriptions.rb' + - 'app/controllers/concerns/descriptions/merges.rb' + - 'app/controllers/concerns/descriptions/permissions.rb' + - 'app/controllers/locations_controller.rb' + - 'app/controllers/names/classification/shared_private_methods.rb' + - 'app/controllers/names/eol_data/preview_controller.rb' + - 'app/controllers/observations_controller/new.rb' + - 'app/controllers/observations_controller/shared_form_methods.rb' + - 'app/controllers/observations_controller/validators.rb' + - 'app/controllers/projects_controller.rb' + - 'app/controllers/rss_logs_controller.rb' + - 'app/controllers/species_lists/shared_private_methods.rb' + - 'app/controllers/translations_controller.rb' + - 'app/extensions/string_extensions.rb' + - 'app/extensions/symbol_extensions.rb' + - 'app/helpers/application_helper.rb' + - 'app/helpers/descriptions_helper.rb' + - 'app/helpers/forms_helper.rb' + - 'app/helpers/link_helper.rb' + - 'app/helpers/map_helper.rb' + - 'app/helpers/matrix_box_helper.rb' + - 'app/helpers/pagination_helper.rb' + - 'app/models/image.rb' + - 'app/models/language_exporter.rb' + - 'app/models/location.rb' + - 'app/models/location_description.rb' + - 'app/models/name.rb' + - 'app/models/name/change.rb' + - 'app/models/name/create.rb' + - 'app/models/name/parse.rb' + - 'app/models/name/spelling.rb' + - 'app/models/name/synonymy.rb' + - 'app/models/name/taxonomy.rb' + - 'app/models/name_description.rb' + - 'app/models/name_sorter.rb' + - 'app/models/naming.rb' + - 'app/models/naming/name_resolver.rb' + - 'app/models/observation.rb' + - 'app/models/observation/naming_consensus.rb' + - 'app/models/queued_email.rb' + - 'app/models/queued_email/location_change.rb' + - 'app/models/queued_email/name_change.rb' + - 'app/models/queued_email/observation_change.rb' + - 'app/models/species_list.rb' + - 'app/models/translation_string.rb' + - 'app/models/user_stats.rb' + - 'app/models/vote.rb' + - 'app/presenters/image_presenter.rb' + - 'app/presenters/matrix_box_presenter.rb' + - 'script/bulk_name_change' + - 'script/update_ip_stats.rb' # Offense count: 10 Naming/AccessorMethodName: @@ -178,14 +540,51 @@ Naming/HeredocDelimiterNaming: # AllowedMethods: is_a? # MethodDefinitionMacros: define_method, define_singleton_method Naming/PredicateName: - Enabled: false + Exclude: + - 'app/classes/eol_data.rb' + - 'app/classes/pattern_search/observation.rb' + - 'app/classes/run_level.rb' + - 'app/classes/tree.rb' + - 'app/controllers/api2_controller.rb' + - 'app/controllers/application_controller.rb' + - 'app/extensions/array_extensions.rb' + - 'app/extensions/hash_extensions.rb' + - 'app/extensions/string_extensions.rb' + - 'app/extensions/symbol_extensions.rb' + - 'app/helpers/descriptions_helper.rb' + - 'app/models/abstract_model.rb' + - 'app/models/description.rb' + - 'app/models/location.rb' + - 'app/models/name/lifeform.rb' + - 'app/models/name/spelling.rb' + - 'app/models/name/taxonomy.rb' + - 'app/models/name_parse.rb' + - 'app/models/observation.rb' + - 'app/models/project.rb' -# Offense count: 125 +# Offense count: 130 # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns. # SupportedStyles: snake_case, normalcase, non_integer # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64 Naming/VariableNumber: - Enabled: false + Exclude: + - 'app/controllers/info_controller.rb' + - 'app/controllers/support_controller.rb' + - 'app/models/naming.rb' + - 'app/models/vote.rb' + - 'test/controllers/comments_controller_test.rb' + - 'test/controllers/lookups_controller_test.rb' + - 'test/controllers/names/synonyms_controller_test.rb' + - 'test/controllers/support_controller_test.rb' + - 'test/mailers/application_mailer_test.rb' + - 'test/mailers/queued_email_test.rb' + - 'test/models/api2_test.rb' + - 'test/models/name_sorter_test.rb' + - 'test/models/name_test.rb' + - 'test/models/observation_test.rb' + - 'test/models/query_test.rb' + - 'test/system/observation_form_system_test.rb' + - 'test/system/observation_naming_system_test.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). @@ -323,9 +722,24 @@ Style/ArgumentsForwarding: Exclude: - 'app/models/image.rb' -# Offense count: 70 +# Offense count: 66 Style/ClassVars: - Enabled: false + Exclude: + - 'app/classes/content_filter.rb' + - 'app/classes/run_level.rb' + - 'app/classes/textile.rb' + - 'app/extensions/symbol_extensions.rb' + - 'app/models/language.rb' + - 'app/models/language_tracking.rb' + - 'app/models/location.rb' + - 'app/models/queued_email.rb' + - 'app/models/user.rb' + - 'app/models/user_group.rb' + - 'test/controllers/locations_controller_test.rb' + - 'test/controllers/names_controller_test.rb' + - 'test/general_extensions.rb' + - 'test/language_extensions.rb' + - 'test/test_helper.rb' # Offense count: 8 # This cop supports unsafe autocorrection (--autocorrect-all). @@ -386,15 +800,37 @@ Style/Next: # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: Strict, AllowedNumbers, AllowedPatterns. +# Configuration parameters: MinDigits, Strict, AllowedNumbers, AllowedPatterns. Style/NumericLiterals: - MinDigits: 7 + Exclude: + - 'app/controllers/application_controller.rb' # Offense count: 49 # Configuration parameters: AllowedMethods. # AllowedMethods: respond_to_missing? Style/OptionalBooleanParameter: - Enabled: false + Exclude: + - 'app/classes/pattern_search/term.rb' + - 'app/classes/query/modules/sequence_operators.rb' + - 'app/classes/query/modules/sql.rb' + - 'app/controllers/application_controller.rb' + - 'app/extensions/string_extensions.rb' + - 'app/extensions/symbol_extensions.rb' + - 'app/helpers/content_helper.rb' + - 'app/helpers/object_link_helper.rb' + - 'app/models/location.rb' + - 'app/models/name/change.rb' + - 'app/models/name/parse.rb' + - 'app/models/queued_email.rb' + - 'app/models/queued_email/name_change.rb' + - 'app/models/visual_group.rb' + - 'app/models/visual_model.rb' + - 'script/download_symbiota.rb' + - 'test/capybara_session_extensions.rb' + - 'test/check_for_unsafe_html.rb' + - 'test/controllers/donations_controller_test_helpers.rb' + - 'test/session_extensions.rb' + - 'test/session_form_extensions.rb' # Offense count: 9 # This cop supports safe autocorrection (--autocorrect). @@ -440,7 +876,23 @@ Style/SlicingWithRange: # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Mode. Style/StringConcatenation: - Enabled: false + Exclude: + - 'app/classes/checklist.rb' + - 'app/classes/labels.rb' + - 'app/extensions/string_extensions.rb' + - 'app/helpers/application_helper.rb' + - 'app/helpers/descriptions_helper.rb' + - 'app/helpers/suggestions_helper.rb' + - 'app/helpers/versions_helper.rb' + - 'app/models/comment/callbacks.rb' + - 'app/models/interest.rb' + - 'app/models/language_exporter.rb' + - 'app/models/name/parse.rb' + - 'app/models/rss_log.rb' + - 'config/unicorn.rb' + - 'config/unicorn_dev.rb' + - 'lib/tasks/lang.rake' + - 'script/refresh_name_lister_cache' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect).