You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:detekt-core shouldn't depend on :detekt-psi-utils.
Observed Behavior
It does.
Context
I believe detekt-psi-utils should only be used to support rule writers. detekt-core shouldn't have an implementation dependency on a module like this, it should be runtimeOnly.
Calls to absolutePath() are simple to replace. The problem classes are AnnotationExcluder and FunctionMatcher which were moved to detekt-psi-utils in #7105 (cc @BraisGabin). I'm not proposing to revert that PR, as these classes don't belong in detekt-tooling either.
The text was updated successfully, but these errors were encountered:
Expected Behavior
:detekt-core shouldn't depend on :detekt-psi-utils.
Observed Behavior
It does.
Context
I believe detekt-psi-utils should only be used to support rule writers. detekt-core shouldn't have an implementation dependency on a module like this, it should be runtimeOnly.
Calls to
absolutePath()
are simple to replace. The problem classes areAnnotationExcluder
andFunctionMatcher
which were moved to detekt-psi-utils in #7105 (cc @BraisGabin). I'm not proposing to revert that PR, as these classes don't belong in detekt-tooling either.The text was updated successfully, but these errors were encountered: