debian-mirror-gitlab/rubocop/rubocop.rb

13 lines
406 B
Ruby
Raw Normal View History

2021-12-11 22:18:48 +05:30
# rubocop:disable Naming/FileName
2020-03-13 15:44:24 +05:30
# frozen_string_literal: true
2022-11-25 23:54:43 +05:30
# 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'
2020-03-13 15:44:24 +05:30
# Auto-require all cops under `rubocop/cop/**/*.rb`
2021-03-08 18:12:59 +05:30
Dir[File.join(__dir__, 'cop', '**', '*.rb')].sort.each(&method(:require))
2021-12-11 22:18:48 +05:30
# rubocop:enable Naming/FileName