Dogma v0.1.16 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

Functions

Callback implementation for c:Dogma.Rule.test/2

Functions

test(rule, script)

Callback implementation for c:Dogma.Rule.test/2.