onlyDependOnModules
Asserts that selected modules depend only on modules matching the specified allowed pattern.
Parameters
allowedPattern
Glob pattern representing a module that is permitted to be a dependency.
Asserts that selected modules depend only on modules matching the specified allowed patterns.
Parameters
allowedPatterns
Glob patterns representing modules that are permitted to be dependencies.
Asserts that selected modules depend only on modules matching the predicate.
Parameters
predicate
Predicate checking target module path.
Asserts that selected modules depend only on modules matching the predicate.
Parameters
description
A descriptive string for the predicate used in violations.
predicate
Predicate checking target module path.