1.2.0 • Published 2 years ago
@eleven-labs/eslint-config-react v1.2.0
:nail_care: 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 typescriptInstall this package with Yarn:
yarn add -D @eleven-labs/eslint-config-react eslint prettier typescriptUse 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.