[PR #1627] [MERGED] Add React Hooks staged report rules #5159

Closed
opened 2026-10-22 04:13:49 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1627
Author: @Xelvanis
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Xelvanis

Base: refactor ← Head: chore/eslint-react-hooks-report-2026-05-30


📝 Commits (1)

  • 75e3983 Add React Hooks staged ESLint report rules

📊 Changes

1 file changed (+8 additions, -0 deletions)

View changed files

📝 eslint.full-report.config.js (+8 -0)

📄 Description

Linked issue

Part of #1619

Why this change

  • Continues the ESLint restoration plan by surfacing React Hooks diagnostics in the optional full-report path after the TypeScript recommended cleanup reduced the baseline.

What changed

  • Adds a staged React Hooks report override for react-hooks/rules-of-hooks and react-hooks/exhaustive-deps in eslint.full-report.config.js.
  • Leaves the normal blocking pnpm lint path unchanged.

Refactor impact

Primary owner:

tooling / ESLint reporting

Impact areas reviewed:

  • ESLint full-report config layering
  • Existing React Hooks plugin registration in the base ESLint config
  • Normal lint/typecheck/architecture/docs/unused gates

Boundary notes:

  • No product runtime, engine, shared API, Rust, or remote runtime behavior changed.
  • The change is limited to the optional staged ESLint report config.

Pressure points touched:

  • none

Validation

  • pnpm check passes locally
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Playwright, screenshot, or recording evidence added for UI changes
  • Remote runtime smoke checked when relevant

Manual verification notes

  • pnpm lint:eslint:full-report -- --output .eslint-reports/eslint-full-report-before-react-hooks.json before the change: 28 errors, 0 warnings across 10 files.
  • pnpm lint:eslint:full-report -- --output .eslint-reports/eslint-full-report-after-react-hooks.json after the change: 28 errors, 25 warnings across 20 files; react-hooks/exhaustive-deps reports 25 warnings and react-hooks/rules-of-hooks reports 0 errors.
  • pnpm lint
  • pnpm typecheck
  • pnpm check:architecture
  • pnpm check:docs
  • pnpm check:unused

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

No changelog update: this is report-only tooling configuration, and this branch does not currently have a CHANGELOG.md file.

UI evidence

N/A; no visible UI changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/1627 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 5/30/2026 **Status:** ✅ Merged **Merged:** 5/30/2026 **Merged by:** [@Xelvanis](https://github.com/Xelvanis) **Base:** `refactor` ← **Head:** `chore/eslint-react-hooks-report-2026-05-30` --- ### 📝 Commits (1) - [`75e3983`](https://github.com/Pasta-Devs/Marinara-Engine/commit/75e398395d02787d244b36a987400a1140614856) Add React Hooks staged ESLint report rules ### 📊 Changes **1 file changed** (+8 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `eslint.full-report.config.js` (+8 -0) </details> ### 📄 Description ## Linked issue Part of #1619 ## Why this change - Continues the ESLint restoration plan by surfacing React Hooks diagnostics in the optional full-report path after the TypeScript recommended cleanup reduced the baseline. ## What changed - Adds a staged React Hooks report override for `react-hooks/rules-of-hooks` and `react-hooks/exhaustive-deps` in `eslint.full-report.config.js`. - Leaves the normal blocking `pnpm lint` path unchanged. ## Refactor impact Primary owner: tooling / ESLint reporting Impact areas reviewed: - ESLint full-report config layering - Existing React Hooks plugin registration in the base ESLint config - Normal lint/typecheck/architecture/docs/unused gates Boundary notes: - No product runtime, engine, shared API, Rust, or remote runtime behavior changed. - The change is limited to the optional staged ESLint report config. Pressure points touched: - none ## Validation - [x] `pnpm check` passes locally - [x] `pnpm typecheck` passes locally - [x] `pnpm build` passes locally - [x] `pnpm check:architecture` passes locally - [x] `pnpm check:docs` passes locally - [ ] `cargo check --manifest-path src-tauri/Cargo.toml --workspace` passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [ ] Browser or Tauri app manual verification completed - [ ] Playwright, screenshot, or recording evidence added for UI changes - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - `pnpm lint:eslint:full-report -- --output .eslint-reports/eslint-full-report-before-react-hooks.json` before the change: 28 errors, 0 warnings across 10 files. - `pnpm lint:eslint:full-report -- --output .eslint-reports/eslint-full-report-after-react-hooks.json` after the change: 28 errors, 25 warnings across 20 files; `react-hooks/exhaustive-deps` reports 25 warnings and `react-hooks/rules-of-hooks` reports 0 errors. - `pnpm lint` - `pnpm typecheck` - `pnpm check:architecture` - `pnpm check:docs` - `pnpm check:unused` ## Docs and release impact - [x] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [ ] Updated repo skills or `AGENTS.md` - [x] Confirmed this PR does not restore old staging/package-workspace/release claims No changelog update: this is report-only tooling configuration, and this branch does not currently have a `CHANGELOG.md` file. ## UI evidence N/A; no visible UI changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:13:49 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5159
No description provided.