npm i --save-dev eslint @eway-crm/eslint-config-react @eway-crm/eslint-config @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-plugin-react
Add configuration to your .eslintrc.json
project file:
{
"extends": ["@eway-crm/eslint-config-react"]
}
If your project is created using create-react-app
the configuration should look like this:
{
"extends": [
"react-app",
"@eway-crm/eslint-config-react"
]
}