summaryrefslogtreecommitdiff
path: root/bin/rubocop
blob: 40330c0ff1cdcb147d15fbbe1cc8f633ea948eb0 (plain)
1
2
3
4
5
6
7
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")
Copyright 2019--2024 Marius PETER