Skip to content

Commit c55abfe

Browse files
committed
linting fixes
1 parent 6f5670e commit c55abfe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/tasks/assets.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require "active_support"
77

88
ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
99

10-
skip_react_on_rails_precompile = %w(no false n f).include?(ENV["REACT_ON_RAILS_PRECOMPILE"])
10+
skip_react_on_rails_precompile = %w[no false n f].include?(ENV["REACT_ON_RAILS_PRECOMPILE"])
1111

1212
if !skip_react_on_rails_precompile && !ReactOnRails::WebpackerUtils.webpacker_webpack_production_config_exists?
1313
# Ensure that rails/webpacker does not call bin/webpack if we're providing

spec/react_on_rails/react_component/render_options_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def the_attrs(react_component_name: "App", options: {})
7676
it "is memoized" do
7777
opts = described_class.new(the_attrs)
7878

79-
expect(opts.dom_id).to eq opts.dom_id
79+
expect(opts.dom_id).to eq opts.dom_id # rubocop:disable RSpec/IdenticalEqualityAssertion
8080
end
8181
end
8282

0 commit comments

Comments
 (0)