Sha256: a4766be1a8fb91a55932177dc748094da4b79f22083868dc40c1935231bfa05b

Contents?: true

Size: 417 Bytes

Versions: 7

Compression:

Stored size: 417 Bytes

Contents

# frozen_string_literal: true

require "rubocop/rake/version"

module RuboCop
  # :nodoc:
  module Rake
    class Error < StandardError; end

    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).freeze

    private_constant(:CONFIG_DEFAULT, :PROJECT_ROOT)
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/rubocop-rake-0.6.0/lib/rubocop/rake.rb
rubocop-rake-0.6.0 lib/rubocop/rake.rb
rubocop-rake-0.5.1 lib/rubocop/rake.rb
rubocop-rake-0.5.0 lib/rubocop/rake.rb
rubocop-rake-0.4.0 lib/rubocop/rake.rb
rubocop-rake-0.3.1 lib/rubocop/rake.rb
rubocop-rake-0.3.0 lib/rubocop/rake.rb