Skip to content

Commit 6c1c881

Browse files
committed
Fix lint errors
1 parent 8ac51a6 commit 6c1c881

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.rubocop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ AllCops:
1010

1111
# def ...
1212
# end
13-
Lint/DefEndAlignment:
13+
Layout/DefEndAlignment:
1414
EnforcedStyleAlignWith: def
1515

1616
# value = if
1717
# # ...
1818
# end
19-
Lint/EndAlignment:
19+
Layout/EndAlignment:
2020
EnforcedStyleAlignWith: variable
2121

2222
Lint/UselessAssignment:

spec/graphql/schema/member/type_system_helpers_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
it "returns the TypeKind instance" do
4949
pairs.each do |type_class, type_kind_name|
5050
type = if type_class.is_a?(Class)
51-
Class.new(type_class)
52-
else
53-
Module.new { include(type_class) }
54-
end
51+
Class.new(type_class)
52+
else
53+
Module.new { include(type_class) }
54+
end
5555

5656
assert_equal type_kind_name, type.kind.name
5757
end

0 commit comments

Comments
 (0)