API Reference green v#0.2.0
Copy MarkdownModules
This module defines a struct that represents a function signature.
Conveniences for modifying the AST and associated comments.
Conveniences for modifying parsed comments.
Conveniences for modifying the AST.
Conveniences for modifying the AST and associated comments.
This is the Rule behaviour.
Warns when exception messages are capitalized.
Warns when exception messages have trailing punctuation.
This rule warns if exceptions are defined with a suffix of Error.
This rule transforms single-function pipelines into function calls.
This rule checks for the use of && and || in strictly boolean contexts and suggests using and and or instead.
This rule checks for anonymous functions in pipelines and prints a warning.
This module removes else clauses that return nil.
This rule transforms unless with else into if with else.
This rule transforms nested function calls into pipelines.
This rule warns when final, always-matching clauses in cond do not use true.
This rule replaces use of bitstrings with the <> operator when matching binaries.
This rule sorts module references (use, import, alias, require).
This rule replaces references to the current module by name with the pseudo-variable
__MODULE__.
This module prints warnings when capital letters are used in atoms, functions, variables or attributes.
This module prints a warning if there are one-letter variable names.
This rule checks that predicate functions have ? suffix and guard-style macros use is_ prefix.
This rule checks that module names use UpperCamelCase.
This module adds parentheses to zero-arity function and macro definitions.
This module removes nil defaults from struct definitions.