.rubocop_fixme.yml in hyrax-2.0.3 vs .rubocop_fixme.yml in hyrax-2.1.0.beta1

- old
+ new

@@ -3,13 +3,15 @@ - 'app/models/concerns/hyrax/user.rb' Metrics/ClassLength: Exclude: - 'app/controllers/hyrax/dashboard/collections_controller.rb' + - 'app/controllers/hyrax/admin/admin_sets_controller.rb' - 'app/controllers/hyrax/file_sets_controller.rb' - 'app/forms/hyrax/forms/permission_template_form.rb' - 'app/presenters/hyrax/work_show_presenter.rb' + - 'app/presenters/hyrax/collection_presenter.rb' - 'app/services/hyrax/user_stat_importer.rb' - 'lib/generators/hyrax/templates/catalog_controller.rb' - 'lib/generators/hyrax/install_generator.rb' - 'lib/hyrax/configuration.rb' @@ -27,10 +29,12 @@ - 'app/controllers/concerns/hyrax/works_controller_behavior.rb' - 'app/helpers/hyrax/hyrax_helper_behavior.rb' - 'app/models/concerns/hyrax/ability.rb' - 'app/services/hyrax/workflow/permission_query.rb' - 'spec/services/hyrax/workflow/permission_query_spec.rb' + # TODO: extract CollectionAccessControls or something, so we don't have to skip this check? + - 'app/models/concerns/hyrax/collection_behavior.rb' Metrics/MethodLength: Exclude: - 'app/controllers/concerns/hyrax/api.rb' - 'app/controllers/concerns/hyrax/works_controller_behavior.rb' @@ -40,17 +44,31 @@ - 'app/services/hyrax/workflow/permission_query.rb' - 'lib/generators/hyrax/install_generator.rb' - 'lib/hyrax/rails/routes.rb' - 'spec/support/**/*' + +Naming/PredicateName: + Exclude: + - 'app/helpers/hyrax/collections_helper.rb' + + # TODO: remove when https://github.com/bbatsov/rubocop/issues/4539 is fixed Style/FormatStringToken: Exclude: - 'config/routes.rb' -Style/PredicateName: +Style/DateTime: + Enabled: false + +# TODO: remove when https://github.com/bbatsov/rubocop/issues/5161 is fixed +Style/CommentedKeyword: Exclude: - - 'app/helpers/hyrax/collections_helper.rb' + - 'app/models/vocab/fedora_resource_status.rb' + +Style/SpecialGlobalVars: + Exclude: + - 'tasks/hyrax_dev.rake' Rails/Output: Exclude: - 'lib/generators/**/*'