Dogma.Rule.LiteralInInterpolation
A rule that disallows useless string interpolations that contain a literal value instead of a variable or function. Examples:
"Hello #{:jose}"
"The are #{4} cats."
"Don't #{~s(interpolate)} literals"
Summary
test(script, list2 \\ []) | Callback implementation for |
Functions
Callback implementation for Dogma.Rule.test/2
.