Config for JS projects using React and Babel.
Use
yarn add --dev @exodus/eslint-config-javascript-react-babel
to install the required dependencies and the snippet below to initialize your eslint.config.js
// eslint.config.js
import javascriptReactBabel from '@exodus/eslint-config-javascript-react-babel'
const config = [
javascriptReactBabel,
{
// project-specific customization...
},
]
export default config.flat()