Eslint on its own is not good enough. First install babel-eslint:
npm install --save-dev babel-eslint
Or with yarn:
yarn add -D babel-eslint
Then add to your .eslintrc file:
"parser": "babel-eslint"
You might want to install eslint-plugin-babel as well, but I believe this is not needed