Sha256: 28f67235fd9dfe1a86518d5886489021b2bd3e3092b3c4d07a51c427654cbf31

Contents?: true

Size: 430 Bytes

Versions: 2

Compression:

Stored size: 430 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module Packwerk
  module ReferenceChecking
    module Checkers
      module Checker
        extend T::Sig
        extend T::Helpers

        interface!

        sig { returns(ViolationType).abstract }
        def violation_type; end

        sig { params(reference: Reference).returns(T::Boolean).abstract }
        def invalid_reference?(reference); end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
packwerk-2.2.0 lib/packwerk/reference_checking/checkers/checker.rb
packwerk-2.1.1 lib/packwerk/reference_checking/checkers/checker.rb