Sha256: decf2e7b46dd27512a31faa1057afd931def77780f752f74eb52e59adc2786d9
Contents?: true
Size: 540 Bytes
Versions: 3
Compression:
Stored size: 540 Bytes
Contents
# typed: strict # frozen_string_literal: true require 'rubocop/modularization/private' module RuboCop module Modularization class Error < StandardError; end extend T::Sig # Your code goes here... PROJECT_ROOT = T.let(Pathname.new(__dir__).parent.parent.expand_path.freeze, Pathname) CONFIG_DEFAULT = T.let(PROJECT_ROOT.join('config', 'default.yml').freeze, Pathname) CONFIG = T.let(YAML.safe_load(CONFIG_DEFAULT.read).freeze, T.untyped) private_constant(:CONFIG_DEFAULT, :PROJECT_ROOT) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubocop-modularization-0.0.6 | lib/rubocop/modularization.rb |
rubocop-modularization-0.0.3 | lib/rubocop/modularization.rb |
rubocop-modularization-0.0.2 | lib/rubocop/modularization.rb |