Revert "upgrade `editorconfig` dependency and use new promise API"

This reverts commit f4cb9bacbb0653e00f9507b65d776def63366d2b.
Prepare 0.2.2 release
:lipstick: code comment
Fix #2 : add encoding support