The shareable eslint configuration of MLL
yarn add --dev @mll-lab/eslint-config
Extend this configuration in your ESLint config:
"extends": [
"@mll-lab/eslint-config"
],
Add required peer dependencies:
yarn add --dev eslint-config-airbnb eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y
Then add an extra entry to your ESLint config. Make sure to place it config before the base config.
"extends": [
"@mll-lab/eslint-config/react",
"@mll-lab/eslint-config"
],