0
0
Fork 0

Use explicit config loading from bin/rubocop (#33256)

This commit is contained in:
Matt Jankowski 2024-12-16 08:50:58 -05:00 committed by GitHub
parent ecdf4ea062
commit c68eb82ffa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 13 additions and 30 deletions

View file

@ -24,4 +24,7 @@ end
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")