API Reference Recode v0.5.0
modules
Modules
A linter with autocorrection and a refactoring tool.
This module provides functions to get informations from the AST and to manipulate the AST.
This module reads the Recode
configuration.
This module provides functions to traverse an AST with a %Context{}
.
The default formatter and the formatter bebaviour.
Defines Recode formatter plugin for mix format
.
An Issue
struct to track findings by the chechers.
The behaviour for a recode
task.
Multi aliases makes module uses harder to search for in large code bases.
Alphabetically sorted lists are easier to read.
The EnforceLineLength
task writes multiline expressions into one line if
they do not exceed the maximum line length.
This task runs the Elixir formatter.
Add parentheses to one-arity functions.
Pipes (|>
) should only be used when piping data through multiple calls.
Function should have specs.
Tests must be in a file with the extension *_test.exs
.
Prepend unused variables with _
This module provides utility functions for recode
.
mix-tasks
Mix Tasks
Runs the linter.
Generates a new config for Recode. Writes the file .recode.exs
in the root directory of the mix
project.