Add consistent ESLint configuration
Débutant
good first issuetype:devex
1 ★
Poids du clone léger
Mise à jour
Description
## Problem
We need to ensure code quality and consistency across the repository, but currently, we do not have ESLint configured for our React/TypeScript codebase.
## Goal
Add and configure ESLint to enforce standard TypeScript and React rules.
## Where to Look
- Look in the root directory (or `apps/web` if scaffolding is complete) for package configurations.
## Suggested Approach
1. Install `eslint`, `eslint-plugin-react`, `@typescript-eslint/parser`, and `@typescript-eslint/eslint-plugin` as dev dependencies.
2. Create an `.eslintrc.cjs` or `eslint.config.js` file.
3. Add a `lint` script to `package.json`.
## Acceptance Criteria
- [ ] ESLint is installed and configured.
- [ ] `npm run lint` executes successfully and reports any errors.
- [ ] The configuration supports both TypeScript and React hooks.
## Testing
Run `npm run lint` locally and ensure it parses the `.tsx` files correctly.
## Difficulty
`Beginner`
Issues similaires
Tout voir
TypeScript
Débutant
[Good First Issue] 🐡 Add new Japan Fact 251 - Beginner-Friendly Open-source Contribution
## 🟢 Good First Issue: Add Japan Fact #251 — Beginner-Friendly Open Source Contribution ![Time: <1 minute](h…
Mise à jour
TypeScript
Débutant
Error bucketing
It would be great to bucket the errors in different types i.e. Code exception, configuration exception, envir…
Mise à jour
TypeScript
Débutant
LP lock links omit the /token|lp/ URL segment, causing wrong-type lookups on the detail page
## Summary Lock detail links should include the lock's kind in the URL, e.g. `/app/lock/lp/:id` or `/app/loc…
Mise à jour