View Source mix recode (Recode v0.7.2)

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

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

  • -c, --config - specifies an alternative config file.

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

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

  • -t, --task, specifies the task to use. With this option, the task is used even if it is specified as active: false in the configuration. This option can appear multiple times in a call.

  • --slowest-tasks - prints timing information for the N slowest tasks.

  • --color - enables color in the output.