Sha256: 6464280d3d7c46bacbea74289f98b668e19bd22470ac7e476cdffbcd240e4ca3
Contents?: true
Size: 497 Bytes
Versions: 30
Compression:
Stored size: 497 Bytes
Contents
# frozen_string_literal: true module RuboCop # RuboCop Rails project namespace module Rails PROJECT_ROOT = Pathname.new(__dir__).parent.parent.expand_path.freeze CONFIG_DEFAULT = PROJECT_ROOT.join('config', 'default.yml').freeze CONFIG = YAML.safe_load(CONFIG_DEFAULT.read, permitted_classes: [Regexp, Symbol]).freeze private_constant(:CONFIG_DEFAULT, :PROJECT_ROOT) ::RuboCop::ConfigObsoletion.files << PROJECT_ROOT.join('config', 'obsoletion.yml') end end
Version data entries
30 entries across 29 versions & 6 rubygems