lib/packwerk/privacy_checker.rb in packwerk-1.0.0 vs lib/packwerk/privacy_checker.rb in packwerk-1.0.1
- old
+ new
@@ -1,11 +1,14 @@
# typed: true
# frozen_string_literal: true
require "packwerk/violation_type"
+require "packwerk/checker"
module Packwerk
class PrivacyChecker
+ include Checker
+
def violation_type
ViolationType::Privacy
end
def invalid_reference?(reference, reference_lister)