add editorconfig; fix typo