Skip to content

Commit

Permalink
linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Judahmeek committed Jun 19, 2021
1 parent 6f5670e commit c55abfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/tasks/assets.rake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require "active_support"

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

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

if !skip_react_on_rails_precompile && !ReactOnRails::WebpackerUtils.webpacker_webpack_production_config_exists?
# Ensure that rails/webpacker does not call bin/webpack if we're providing
Expand Down
2 changes: 1 addition & 1 deletion spec/react_on_rails/react_component/render_options_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def the_attrs(react_component_name: "App", options: {})
it "is memoized" do
opts = described_class.new(the_attrs)

expect(opts.dom_id).to eq opts.dom_id
expect(opts.dom_id).to eq opts.dom_id # rubocop:disable RSpec/IdenticalEqualityAssertion
end
end

Expand Down

0 comments on commit c55abfe

Please sign in to comment.