Method: Packwerk::ReferenceChecking::Checkers::DependencyChecker#strict_mode_violation?
- Defined in:
- lib/packwerk/reference_checking/checkers/dependency_checker.rb
#strict_mode_violation?(offense) ⇒ Boolean
50 51 52 53 |
# File 'lib/packwerk/reference_checking/checkers/dependency_checker.rb', line 50 def strict_mode_violation?(offense) referencing_package = offense.reference.package referencing_package.config["enforce_dependencies"] == "strict" end |