mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1619] [Feature]: Restore useful ESLint coverage on refactor #831
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#831
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Xelvanis on GitHub (May 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1619
Originally assigned to: @Xelvanis on GitHub.
What problem does this solve?
The refactor branch currently has a useful architecture-focused ESLint setup, but broader JavaScript, TypeScript, and React diagnostics are not restored yet. A direct enablement of recommended rules is too noisy to make CI-blocking immediately, so the project needs a staged restoration path that preserves the existing architecture guard while making general lint signal reproducible and actionable.
Proposed behavior
Restore useful ESLint coverage in staged PRs:
no-undefnoise from browser, DOM, TypeScript, and Node globals before judging remaining findings.rules-of-hooksand then triagingexhaustive-deps.Expected owner or impact area
Refactor branch considerations
This should be a tooling-first effort. Do not copy the old legacy client ESLint config wholesale; the refactor tree has different ownership boundaries. Preserve the current architecture rules in
eslint.config.js, keep CI behavior unchanged until each bucket is intentionally ratcheted, and avoid deleting exported contracts, schemas, generated shapes, or extension/API surfaces just because an early unused-variable report flags them.Alternatives considered
Enabling all recommended rules as a blocking lint gate immediately would create a large noisy failure surface and obscure the real signal. Leaving lint architecture-only forever would miss TypeScript, React Hooks, and local cleanup diagnostics that can catch real regressions.
Additional context
Initial local investigation found the current architecture-focused ESLint config clean, while a temporary recommended-rule overlay produced thousands of findings mostly dominated by false
no-undefnoise and unused variables. The first PR should be config-only: reproducible reports and direct lint dependencies if needed, without changing runtime behavior or CI gates.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: