1.0.6 • Published 7 months ago
@eway-crm/eslint-config-react v1.0.6
eWay-CRM ESLint Rules for React and TypeScript
Installation
npm i --save-dev eslint @eway-crm/eslint-config-react @eway-crm/eslint-config @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-plugin-react
Configuration
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"
]
}