Skip to content

Commit

Permalink
test: binfile for rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellberg committed Jun 10, 2024
1 parent 4fea9de commit f26f11c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/rubocop
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env ruby
require "rubygems"
require "bundler/setup"

# explicit rubocop config increases performance slightly while avoiding config confusion.
ARGV.unshift("--config", File.expand_path("../.rubocop.yml", __dir__))

load Gem.bin_path("rubocop", "rubocop")

0 comments on commit f26f11c

Please sign in to comment.