couchdb-fauxton icon indicating copy to clipboard operation
couchdb-fauxton copied to clipboard

Consider adding an .editorconfig to enforce aspects of the style guide

Open iamgollum opened this issue 5 years ago • 1 comments

When I was working on issue #1202, I noticed in my PR that the format was off. I went to check the repo and noticed there was no .editorconfig. This can help standardize styling across os / contributors.

https://github.com/apache/couchdb-fauxton/blob/master/styleguide.md

Aka for a base:

root = true

[*]
indent_style = space
indent_size = 2

iamgollum avatar Jul 09 '19 01:07 iamgollum

I would be +1 on this. We already have eslint for code formatting but a .editorconfig would also helps being consistent in the different files.

popojargo avatar Jul 09 '19 01:07 popojargo