Adopt ESLint for frontend static analysis
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 43/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- eslint, github-actions, react, tauri, typescript
- Área
- ci-cd, developer-experience, frontend, testing
Línea de trabajo
Start by reading the current frontend scripts and CLAUDE.md, then inspect .github/workflows/ci.yml and CONTRIBUTING.md to see how checks are run and documented. Add the flat ESLint setup and npm run lint described in the issue, then run it on main and address violations without undocumented suppressions. Done means lint passes locally and CI runs it on every PR.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
Today the only frontend static-analysis gate is npx tsc --noEmit (per CLAUDE.md). CodeRabbit also flags this on every PR ("ESLint skipped: no ESLint configuration detected").
tsc catches type errors but misses real classes of bugs in a React + Tauri codebase:
- React Hooks violations — missing
useEffectdeps, conditional hooks, stale closures.eslint-plugin-react-hooks'sexhaustive-depsis the highest-value rule here and catches actual runtime bugstsccannot see. - Floating promises — easy to miss in a Tauri app where every IPC call is async.
@typescript-eslint/no-floating-promisescatches them. - Contributor PR floor — raises baseline quality without manual nitpicking in review.
Proposal
Minimal flat-config ESLint setup, additive to existing CI.
Scope:
eslint.config.js(flat config)- Presets:
@eslint/jsrecommended,typescript-eslintrecommended (notrecommended-type-checked— too noisy on first run),eslint-plugin-react-hooks,eslint-plugin-react-refresh - New script:
npm run lint - Wire into
.github/workflows/ci.ymlalongsidetsc --noEmit - Update
CLAUDE.mdto reflect ESLint as a gate - Update
CONTRIBUTING.mdto mention the lint step
Explicitly out of scope:
- Prettier — separate decision, separate PR
recommended-type-checkedrules — can be enabled later once the codebase is clean against the base ruleset- Backend (Rust) —
cargo clippy -- -D warningsis already wired
Acceptance criteria
-
npm run lintpasses onmain - CI runs lint on every PR
- No suppressions added to make the initial pass green that don't have a tracking comment or follow-up issue
-
CLAUDE.mdupdated
Notes
Expect a non-trivial first-pass cleanup. If the violation count is large, split into:
- Land config + CI wiring with whatever minimum suppressions are needed
- Follow-up PR(s) to remove suppressions
- Lenguaje dominante
- TypeScript
- Estrellas
- 6
- Forks
- 1
- Merge medio
- 17 min
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de openidle-dev/queryden
-
Multi Query ClusterAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
openidle-dev/queryden#240 ·
-
bug enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
openidle-dev/queryden#187 ·
-
Refresh database listAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
openidle-dev/queryden#237 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
openidle-dev/queryden#192 ·
-
dependencies
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
openidle-dev/queryden#186 ·
Todos los issues de openidle-dev/queryden
Issues similares
-
Mend: dependency security vulnerability
Dificultad 1/5 1-3 horas Aptitud para principiantes 65/100
fdm-monster/fdm-monster#5563 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
be-BOP-io-SA/be-BOP#2849 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
Los mantenedores suelen responder en 1 día
-
1️⃣ phase/under-investigation flaky/confirmed flaky/needs-decision type/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
growilabs/growi#12246 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
🐛 The Rulekeeper - An index run that gives up on the lock ends SucceededPosiblemente ocupada @github-actions la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
SSWConsulting/SSW.Rules#2809 · 1 comentario ·
Los mantenedores suelen responder en 1 día