Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Judahmeek committed Apr 13, 2024
1 parent fd4624b commit 081e33c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions test/dummy/config/initializers/backtrace_silencers.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

# Be sure to restart your server when you modify this file.

# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/initializers/inflections.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

# Be sure to restart your server when you modify this file.

# Add new inflection rules using the following format. Inflections
Expand Down
1 change: 1 addition & 0 deletions test/dummy/config/initializers/mime_types.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

# Be sure to restart your server when you modify this file.

# Add new mime types for use in respond_to blocks:
Expand Down
2 changes: 1 addition & 1 deletion test/react/jsx_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
STR

class NullTransformer
def initialize(_options = {}); end # rubocop:disable-line Style/RedundantInitialize
def initialize(_options = {}); end # rubocop:disable Style/RedundantInitialize

def transform(_code)
"TRANSFORMED CODE!;\n"
Expand Down
2 changes: 1 addition & 1 deletion test/react/rails/controller_lifecycle_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def teardown
get "/pages/1"
helper_obj = controller.__react_component_helper

assert(helper_obj.is_a?(DummyHelperImplementation), "It uses the view helper implementation class")
assert_kind_of(DummyHelperImplementation, helper_obj, "It uses the view helper implementation class")
end

test "it calls setup and teardown methods" do
Expand Down

0 comments on commit 081e33c

Please sign in to comment.