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"
Source

Summary

test(script, list2 \\ [])

Callback implementation for Dogma.Rule.test/2

Functions

test(script, list2 \\ [])

Callback implementation for Dogma.Rule.test/2.

Source