We are using tabs, you can go away now ;)
Configuration used in our projects based on great Airbnb with couple tweaks we like better.
In this case it's also necessary to install peer dependency of
eslint package itself.
Alternatively if some of EcmaScript proposal features are used, following will use Babel parser instead of ESlint default one to support those.
In this two other packages needs to be installed:
eslint-plugin-babel. Along those you will obviously need other Babel related packages like some presets and plugins that do actual parsing. Most likely one of stage plugins is a good idea, otherwise you don't to use this extended config at all.