* update editorconfig to set unix-style newlines and trim whitespace * add editorconfig github action to the CI * fix whitespace