rebar3_format
rebar3_format copied to clipboard
Ignore spaces in empty maps, records, tuples
Currently formatter add spaces in empty maps etc. with config:
{format, [{ options, #{ spaces_around_fields => true } }]}.
will format empty map like
#{ }
I would like it to be formatted like:
#{}
I suppose it should be additional rule like: ignore_spaces_around_empty_data => true
or similar.
Regards, --V
I think we can just fix spaces_around_fields
… and get it to ignore empty maps/records.