ESLint config for React Typescript projects to use JS Standard rules and Prettier as formatter
npm install @commercelayer/eslint-config-ts-reactSharable eslint config for React TypeScript projects.
Please refer to @commercelayer/eslint-config-ts to learn more about the configuration (ESLint + JS Standard + Prettier).
Install ESLinst along with this package.
```
pnpm install -D eslint @commercelayer/eslint-config-ts-react
Create a new file .eslintrc.json with the following content:
`jsonc`
{
"extends": ["@commercelayer/eslint-config-ts-react"]
}
Add the following scripts to your package.json file:
`jsonc``
"scripts": {
// ...
"lint": "eslint src",
"lint:fix": "eslint src --fix",
// ...
},
Check optional steps here.