Open hoshinotsuyoshi opened 12 months ago
PR for https://github.com/pocke/rubocop-grep/issues/4
https://github.com/pocke/rubocop-grep/issues/4 Steps to reproduce the problem Check out the https://github.com/ydah/sandbox-rubocop-grep Run bundle install. Run bundle exec rubocop.
https://github.com/pocke/rubocop-grep/issues/4
--- a/Gemfile +++ b/Gemfile @@ -1,6 +1,7 @@ # frozen_string_literal: true source 'https://rubygems.org' +git_source(:github) { |repo| "https://github.com/#{repo}.git" } gem 'rubocop' -gem 'rubocop-grep' +gem 'rubocop-grep', github: 'hoshinotsuyoshi/rubocop-grep', branch: 'bundle-update-steep-and-remove-grepx'
$ bundle exec rubocop --cache=false -d ...snip.... Offenses: target.rb:3:1: C: Grep/Grep: Do not refer ENV directly. ENV ^^^ 2 files inspected, 1 offense detected Finished in 0.07266599999275059 seconds
PR for https://github.com/pocke/rubocop-grep/issues/4
Steps to reproduce the problem
Steps to verify this pull request