Algoan ESLint configuration shared for React projects written in TypeScript and using prettier.
First, install this module running:
npm install @algoan/eslint-config-react --save-dev
Then, create a .eslintrc.json
file:
{
"extends": "@algoan/eslint-config-react"
}
In your package.json
file, add a script:
{
"lint": "eslint **/*.{js,jsx,ts,tsx}"
}