summaryrefslogtreecommitdiff
path: root/rubocop/rubocop.rb
blob: 6b5491b27fc25a6c9ce75af0edae9580923c1fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# 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