pell icon indicating copy to clipboard operation
pell copied to clipboard

Add .editorconfig file

Open bcolucci opened this issue 7 years ago • 4 comments

It helps contributors to format the code in the same way. Editorconfig is supported by most of the editors/IDE.

bcolucci avatar Mar 20 '18 13:03 bcolucci

@bcolucci what you think about to add prettier also?

iztsv avatar Mar 21 '18 04:03 iztsv

@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 avatar Mar 21 '18 08:03 bcolucci

@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.

iztsv avatar Mar 21 '18 14:03 iztsv

this should be merged :) 👍

Shuunen avatar Feb 04 '19 15:02 Shuunen