I just tried reading the documentation in man editorconfig, as installed by an Arch Linux package. It doesn't actually explain what the editorconfig program does, what a FILEPATH is or what the expected output is.
I am aware of what the EditorConfig project does in general and I already have a valid .editorconfig file, but how to use /usr/bin/editorconfig remains a mystery after reading this man page.