View Source Recode.Task behaviour (Recode v0.1.0)
The behaviour for a recode task.
Link to this section Summary
Callbacks
Returns the configuration for the given key.
Applies a task with the given source and opts.
Link to this section Callbacks
@callback config(key :: :check | :correct | :refactor) :: boolean()
Returns the configuration for the given key.
@callback run(source :: Recode.Source.t(), opts :: Keyword.t()) :: Recode.Source.t()
Applies a task with the given source and opts.