added .editorconfig and replaced indent type in package.json to npm-style