💅 eslint-config-react
Shared ESLint and Prettier configuration for React TypeScript project
Integrate into new project
Install this package with NPM:
npm install --save-dev @eleven-labs/eslint-config-react eslint prettier typescript
Install this package with Yarn:
yarn add -D @eleven-labs/eslint-config-react eslint prettier typescript
Use ESLint config in your project
Create a .eslintrc
file in project root with the following content:
{
"extends": "@eleven-labs/eslint-config-react",
"rules": {
// Additional, per-project rules...
}
}
To add the prettier config, please follow the package documentation.