class RuboCop::Cop::InternalAffairs::RedundantLetRuboCopConfigNew

Checks that ‘let` is `RuboCop::Config.new` with no arguments.

@example

# bad
RSpec.describe RuboCop::Cop::Department::Foo, :config do
  let(:config) { RuboCop::Config.new }
end

# good
RSpec.describe RuboCop::Cop::Department::Foo, :config do
end

RSpec.describe RuboCop::Cop::Department::Foo, :config do
  let(:config) { RuboCop::Config.new(argument) }
end