gitlab-org--gitlab-foss/rubocop/rubocop.rb

7 lines
225 B
Ruby

# rubocop:disable Naming/FileName
# frozen_string_literal: true
# Auto-require all cops under `rubocop/cop/**/*.rb`
Dir[File.join(__dir__, 'cop', '**', '*.rb')].sort.each(&method(:require))
# rubocop:enable Naming/FileName