lib/rubocop/packs.rb in rubocop-packs-0.0.34 vs lib/rubocop/packs.rb in rubocop-packs-0.0.35

- old
+ new

@@ -15,10 +15,9 @@ PACK_LEVEL_RUBOCOP_YML = 'package_rubocop.yml' PACK_LEVEL_RUBOCOP_TODO_YML = 'package_rubocop_todo.yml' 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) # # Ideally, this is API that is available to us via `rubocop` itself.