Sha256: 0170e10a743c79632ec4e6464fc9f4d06ef05d80ae0acfcb8da0174568991a5f

Contents?: true

Size: 428 Bytes

Versions: 3

Compression:

Stored size: 428 Bytes

Contents

# typed: true
# 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

3 entries across 3 versions & 1 rubygems

Version Path
packwerk-2.1.0 lib/packwerk/reference_checking/checkers/checker.rb
packwerk-2.0.0 lib/packwerk/reference_checking/checkers/checker.rb
packwerk-1.4.0 lib/packwerk/reference_checking/checkers/checker.rb