You can configure esformatter by changing ~/.esformatter
See the esformatter default https://github.com/millermedeiros/esformatter/blob/master/lib/preset/default.json for configuration examples.
You will need the esformatter binary available in your path to run the indent command
npm install -g esformatter
I improved this plugin and created a repository for it that way it's going to be easier to install and update: https://github.com/millermedeiros/vim-esformatter - cheers!