Dogma v0.1.16 Dogma.Rule.Semicolon

A rule that disallows semicolons to terminate or separate statements.

For example, these are considered invalid:

foo = "bar";
bar = "baz"; fizz = :buzz

This is because Elixir does not require semicolons to terminate expressions, and breaking up multiple expressions on different lines improves readability.

Summary

Functions

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

Functions

test(rule, script)

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