inaka / elvis

Erlang Style Reviewer
Apache License 2.0
424 stars 87 forks source link

Process command-line files according to config settings #568

Open jamesaimonetti opened 2 years ago

jamesaimonetti commented 2 years ago

Previously, command-line files were forced to be processed sequentially, regardless of any parallel setting.

Now the files are converted to elvis_files and included in the config for regular processing.

Addresses https://github.com/inaka/elvis/issues/567

jamesaimonetti commented 2 years ago

@elbrujohalcon first stab. Lifted the bits in file_to_path from elvis_core;rock_this/2; might be worth putting in elvis_file as a generic elvis_file:from_filename/1 type function?