Closed cw789 closed 3 years ago
I am not sure about the tab change.
We might have mixed source files, and sometimes a combination of spaces and tabs is used for alignment.
Your're right. With the existing mixed source files it's better to keep the pre configured ident_size
for the tabs.
Otherwise it makes the code less readable for users with different configured tab size (provided they use an .editorconfig compatible editor - otherwise it's anyway disordered).
So I've reverted the change.
It's now only resorting some things in the file.
Adding .md
as extension (for future guides I possibly will write).
Removing .conf
as I don't find an extension like that in the repository.
So close or merge. I'm happy with both.
Ok, I did one last quick edit.
I changed the ident_size
to 2 for .yml
as it is currently in there.
@cw789 is this ready for merge?
@cw789 is this ready for merge?
Yes it is now.
Thanks!
Yep, unfortunately the coding style we have in gen_smtp is quite special =) It would be cool to add some code-formatter like https://github.com/WhatsApp/erlfmt one day, but the problem with it is that it messes-up with the
git blame
...
Possibly sometime an evaluation worth. But the thing with git blame is a good point. Wouldn't have thought about that.
Probably bikeshedding (resorting things).
~But with tab the
indent_size
should be an user preference.~ (we have mixed source files) Additionally added.md
for possibly future guides with this extension. Removed.conf
as nowhere seen in this repository. Changed theindent_size
to 2 for.yml
(as it is currently used).