This works better with the current eslint loader, as then eslint and babel can look at the same configuration. See <https://babeljs.io/docs/en/config-files>. This is similar to .eslintrc.json.