add an .editorconfig

ref #1359