Use
yarn add --dev @exodus/eslint-config-typescript
and the snippet below to initialize your .eslintrc.js
// .eslintrc.js
module.exports = {
overrides: [
{
files: ['*.{ts,tsx}'],
extends: ['@exodus/eslint-config-typescript-react'],
},
{
files: ['*.{js,jsx}'],
extends: ['@exodus/eslint-config-typescript-react'],
},
],
}