View Source mix recode (Recode v0.5.0)

Runs the linter.

> mix recode [options] [inputs]

Without a inputs argument the inputs value from the config is used. The inputs argument accepts a wildcard.

If inputs value is -, then the input is read from stdin.

Without the option --config file the config file .recode.exs is used. A default .recode.exs can be generated with mix recode.gen.config.

command-line-option

Command line Option

  • --autocorrect, --no-autocorrect - Activates/deactivates autocrrection. Overwrites the corresponding value in the configuration.

  • --config - specifies an alternative config file.

  • --dry, --no-dry - Activates/deactivates the dry mode. No file is overwritten in dry mode. Overwrites the corresponding value in the configuration.

  • --verbose, --no-verbose - Activate/deactivates the verbose mode. Overwrites the corresponding value in the configuration.

  • --task, specifies the task to use. With this option, the task is used even if it is specified as active: false in the configuration.