Adopt ESLint for frontend static analysis
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 43/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- eslint, github-actions, react, tauri, typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 6
- フォーク
- 1
- 平均マージ
- 17分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openidle-dev/queryden のほかの issue
-
Multi Query Clusterオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
openidle-dev/queryden#240 ·
-
bug enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
openidle-dev/queryden#187 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
openidle-dev/queryden#237 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
openidle-dev/queryden#192 ·
-
dependencies
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
openidle-dev/queryden#186 ·
openidle-dev/queryden の issue をすべて見る
似ている issue
-
Mend: dependency security vulnerability
難易度 1/5 1〜3時間 初心者へのやさしさ 65/100
fdm-monster/fdm-monster#5563 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
be-BOP-io-SA/be-BOP#2849 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
1️⃣ phase/under-investigation flaky/confirmed flaky/needs-decision type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
growilabs/growi#12246 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
🐛 The Rulekeeper - An index run that gives up on the lock ends Succeeded対応中かも @github-actions が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
SSWConsulting/SSW.Rules#2809 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信