ESLint
Babel configurations. Use this package when you are using Babel
compiler in your project.
Add the dependency.
yarn add -D @straw-hat/eslint-config-babel
Make sure to install the peer dependencies.
npx install-peerdeps --dev @straw-hat/eslint-config-babel
Extend your ESLint
configuration.
{
"extends": ["@straw-hat/eslint-config-babel"]
}