Add formatter config

Fixes issue raised in #10.