debian-mirror-gitlab/rubocop/rubocop.rb
2022-11-25 23:54:43 +05:30

12 lines
406 B
Ruby

# rubocop:disable Naming/FileName
# frozen_string_literal: true
# Performance improvements to be upstreamed soon:
# See https://gitlab.com/gitlab-org/gitlab/-/issues/377469
require_relative 'ext/path_util'
require_relative 'ext/variable_force'
# Auto-require all cops under `rubocop/cop/**/*.rb`
Dir[File.join(__dir__, 'cop', '**', '*.rb')].sort.each(&method(:require))
# rubocop:enable Naming/FileName