Add .editorconfig file
It helps contributors to format the code in the same way. Editorconfig is supported by most of the editors/IDE.
@bcolucci what you think about to add prettier also?
@ilyaztsv why not. I just ask myself if for it worth it? I mean, there are just few lines of code right, and maybe an .editorconfig file is enough? What do you think?
@bcolucci thanks for the replay!
Unfortunately, I don't know much editorconfig and supporting it's by IDE's. The good thing of prettier that it automatically (for examples, in precommit hoook) formats code as described in rules. In this way I don't need to worry about how I write code, in any way it will be formatted by prettier as it needs for project.
this should be merged :) 👍