Sha256: 2dcc3dd36146fb575d1ea17a729265db138ca6d0777d3ea4858800c49cd3980b

Contents?: true

Size: 404 Bytes

Versions: 12

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

require_relative 'rbs/version'

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

12 entries across 12 versions & 1 rubygems

Version Path
rubocop-on-rbs-1.3.0 lib/rubocop/rbs.rb
rubocop-on-rbs-1.2.0 lib/rubocop/rbs.rb
rubocop-on-rbs-1.1.0 lib/rubocop/rbs.rb
rubocop-on-rbs-1.0.0 lib/rubocop/rbs.rb
rubocop-on-rbs-0.9.0 lib/rubocop/rbs.rb
rubocop-on-rbs-0.8.0 lib/rubocop/rbs.rb
rubocop-on-rbs-0.7.0 lib/rubocop/rbs.rb
rubocop-on-rbs-0.6.0 lib/rubocop/rbs.rb
rubocop-on-rbs-0.5.0 lib/rubocop/rbs.rb
rubocop-on-rbs-0.4.0 lib/rubocop/rbs.rb
rubocop-on-rbs-0.3.0 lib/rubocop/rbs.rb
rubocop-on-rbs-0.2.0 lib/rubocop/rbs.rb