diff --git a/.rubocop.yml b/.rubocop.yml index 4073900317..413d0d4b48 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -66,11 +66,7 @@ RSpec/FilePath: SpecSuffixOnly: true RSpec/SpecFilePathFormat: - Exclude: - - '**/spec/routing/**/*' - - '**/spec/grape/api/*' - - '**/spec/integration/**/*' - - '**/spec/grape/validations/validators/*' + Enabled: false RSpec/MultipleExpectations: Max: 4 diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 41bcd4b853..e296e585a0 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 5000` -# on 2024-03-25 01:13:48 UTC using RuboCop version 1.59.0. +# on 2024-03-25 01:40:39 UTC using RuboCop version 1.59.0. # 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 @@ -435,27 +435,6 @@ RSpec/ScatteredSetup: - 'spec/grape/util/inheritable_setting_spec.rb' - 'spec/grape/validations_spec.rb' -# Offense count: 11 -# Configuration parameters: Include, CustomTransform, IgnoreMethods, IgnoreMetadata. -# Include: **/*_spec.rb -RSpec/SpecFilePathFormat: - Exclude: - - '**/spec/routing/**/*' - - '**/spec/grape/api/*' - - '**/spec/integration/**/*' - - '**/spec/grape/validations/validators/*' - - 'spec/grape/dsl/inside_route_spec.rb' - - 'spec/grape/endpoint/declared_spec.rb' - - 'spec/grape/exceptions/body_parse_errors_spec.rb' - - 'spec/grape/extensions/param_builders/hash_spec.rb' - - 'spec/grape/extensions/param_builders/hash_with_indifferent_access_spec.rb' - - 'spec/grape/extensions/param_builders/hashie/mash_spec.rb' - - 'spec/grape/integration/global_namespace_function_spec.rb' - - 'spec/grape/integration/rack_sendfile_spec.rb' - - 'spec/grape/loading_spec.rb' - - 'spec/grape/middleware/exception_spec.rb' - - 'spec/grape/validations/attributes_doc_spec.rb' - # Offense count: 9 RSpec/StubbedMock: Exclude: