Sha256: 166980c1543ad656947bab83e7fc01237bf625907aaa08baed2f0193e7de890d

Contents?: true

Size: 405 Bytes

Versions: 25

Compression:

Stored size: 405 Bytes

Contents

# frozen_string_literal: true

require_relative "boxt/version"

module RuboCop
  module Boxt
    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

25 entries across 25 versions & 1 rubygems

Version Path
boxt_rubocop-2.14.3 lib/rubocop/boxt.rb
boxt_rubocop-2.14.2 lib/rubocop/boxt.rb
boxt_rubocop-2.14.1 lib/rubocop/boxt.rb
boxt_rubocop-2.14.0 lib/rubocop/boxt.rb
boxt_rubocop-2.13.0 lib/rubocop/boxt.rb
boxt_rubocop-2.12.0 lib/rubocop/boxt.rb
boxt_rubocop-2.11.0 lib/rubocop/boxt.rb
boxt_rubocop-2.10.0 lib/rubocop/boxt.rb
boxt_rubocop-2.9.2 lib/rubocop/boxt.rb
boxt_rubocop-2.9.1 lib/rubocop/boxt.rb
boxt_rubocop-2.9.0 lib/rubocop/boxt.rb
boxt_rubocop-2.8.0 lib/rubocop/boxt.rb
boxt_rubocop-2.7.1 lib/rubocop/boxt.rb
boxt_rubocop-2.7.0 lib/rubocop/boxt.rb
boxt_rubocop-2.6.0 lib/rubocop/boxt.rb
boxt_rubocop-2.5.0 lib/rubocop/boxt.rb
boxt_rubocop-2.4.0 lib/rubocop/boxt.rb
boxt_rubocop-2.3.0 lib/rubocop/boxt.rb
boxt_rubocop-2.2.1 lib/rubocop/boxt.rb
boxt_rubocop-2.2.0 lib/rubocop/boxt.rb