rebar3_format icon indicating copy to clipboard operation
rebar3_format copied to clipboard

Inherit options ftom .editorconfig

Open seriyps opened this issue 4 years ago • 0 comments

There are some options which can be specified in .editorconfig file (https://editorconfig.org/) and can be used by code formatter as well:

  • max_line_length
  • indent_size
  • insert_final_newline
  • charset
  • end_of_line

Expected behaviour: If there is an .editorconfig file in a directory, and there are rules matching .erl file, parameters from .editorconfig should have higher priority than defaults or specified in rebar.config. Editorconfig applies recursively for nested subdirectories.

seriyps avatar Mar 28 '20 13:03 seriyps