Welcome to mirror list, hosted at ThFree Co, Russian Federation.

rubocop.rb « rubocop - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 708be988f3a6da72b52e2e9a40a0f42f4245cb37 (plain)
1
2
3
4
5
6
7
8
9
10
11
# rubocop:disable Naming/FileName
# frozen_string_literal: true

# Load ActiveSupport to ensure that core extensions like `Enumerable#exclude?`
# are available in cop rules like `Performance/CollectionLiteralInLoop`.
require 'active_support/all'

# Auto-require all cops under `rubocop/cop/**/*.rb`
Dir[File.join(__dir__, 'cop', '**', '*.rb')].each { |file| require file }

# rubocop:enable Naming/FileName