Skip to content

Commit

Permalink
Correct InternalAffairs/RedundantLetRuboCopConfigNew
Browse files Browse the repository at this point in the history
bundle exec rubocop -a --only InternalAffairs/RedundantLetRuboCopConfigNew
  • Loading branch information
ydah committed Aug 18, 2022
1 parent c9843f7 commit a902c71
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 31 deletions.
18 changes: 0 additions & 18 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 13
# This cop supports safe autocorrection (--autocorrect).
InternalAffairs/RedundantLetRuboCopConfigNew:
Exclude:
- 'spec/rubocop/cop/graphql/argument_description_spec.rb'
- 'spec/rubocop/cop/graphql/argument_name_spec.rb'
- 'spec/rubocop/cop/graphql/argument_uniqueness_spec.rb'
- 'spec/rubocop/cop/graphql/field_description_spec.rb'
- 'spec/rubocop/cop/graphql/field_hash_key_spec.rb'
- 'spec/rubocop/cop/graphql/field_method_spec.rb'
- 'spec/rubocop/cop/graphql/field_name_spec.rb'
- 'spec/rubocop/cop/graphql/field_uniqueness_spec.rb'
- 'spec/rubocop/cop/graphql/legacy_dsl_spec.rb'
- 'spec/rubocop/cop/graphql/object_description_spec.rb'
- 'spec/rubocop/cop/graphql/ordered_arguments_spec.rb'
- 'spec/rubocop/cop/graphql/ordered_fields_spec.rb'
- 'spec/rubocop/cop/graphql/unused_argument_spec.rb'

# Offense count: 4
InternalAffairs/UndefinedConfig:
Exclude:
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/argument_description_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::ArgumentDescription, :config do

let(:config) { RuboCop::Config.new }

context "when description is passed as argument" do
it "not registers an offense" do
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/argument_name_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::ArgumentName, :config do

let(:config) { RuboCop::Config.new }

context "when field name is in snake case" do
it "not registers an offense" do
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/argument_uniqueness_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::ArgumentUniqueness, :config do

let(:config) { RuboCop::Config.new }

context "when arguments are not duplicated" do
it "does not register an offense" do
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/field_description_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::FieldDescription, :config do

let(:config) { RuboCop::Config.new }

context "when description is passed as argument" do
it "not registers an offense" do
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/field_hash_key_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::FieldHashKey, :config do

let(:config) { RuboCop::Config.new }

it "does not register an offense" do
expect_no_offenses(<<~RUBY)
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/field_method_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::FieldMethod, :config do

let(:config) { RuboCop::Config.new }

it "not registers an offense" do
expect_no_offenses(<<~RUBY)
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/field_name_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::FieldName, :config do

let(:config) { RuboCop::Config.new }

context "when field name is in snake case" do
it "not registers an offense" do
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/field_uniqueness_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::FieldUniqueness, :config do

let(:config) { RuboCop::Config.new }

context "when fields are not duplicated" do
it "does not register an offense" do
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/legacy_dsl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::LegacyDsl, :config do

let(:config) { RuboCop::Config.new }

context "when legacy DSL is defined" do
it "registers an offense" do
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/object_description_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::ObjectDescription, :config do

let(:config) { RuboCop::Config.new }

context "when object" do
context "when description is filled" do
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/ordered_arguments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::OrderedArguments, :config do

let(:config) { RuboCop::Config.new }

context "when arguments are alphabetically sorted" do
it "not registers an offense" do
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/ordered_fields_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::OrderedFields, :config do

let(:config) { RuboCop::Config.new }

context "when fields are alphabetically sorted" do
it "not registers an offense" do
Expand Down
1 change: 0 additions & 1 deletion spec/rubocop/cop/graphql/unused_argument_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

RSpec.describe RuboCop::Cop::GraphQL::UnusedArgument, :config do

let(:config) { RuboCop::Config.new }

context "when all args are used" do
it "not registers an offense" do
Expand Down

0 comments on commit a902c71

Please sign in to comment.