Soc/bin/rubocop

9 lines
266 B
Plaintext
Raw Permalink Normal View History

2024-08-08 10:35:36 +00:00
#!/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")