Create .editorconfig and fix formatting