View Source Igniter.Project.Formatter (igniter v0.3.24)

Codemods and utilities for interacting with .formatter.exs files

Summary

Functions

Adds a new plugin to the list of plugins in the root .formatter.exs

Adds a new dep to the list of imported deps in the root .formatter.exs

Functions

Link to this function

add_formatter_plugin(igniter, plugin)

View Source
@spec add_formatter_plugin(Igniter.t(), plugin :: module()) :: Igniter.t()

Adds a new plugin to the list of plugins in the root .formatter.exs

Link to this function

import_dep(igniter, dep)

View Source
@spec import_dep(Igniter.t(), dep :: atom()) :: Igniter.t()

Adds a new dep to the list of imported deps in the root .formatter.exs