Skip to content

fix(manager): fix lint errors from coverage PR squash merge#643

Merged
tataihono merged 2 commits intomainfrom
fix/manager-prettier
Apr 2, 2026
Merged

fix(manager): fix lint errors from coverage PR squash merge#643
tataihono merged 2 commits intomainfrom
fix/manager-prettier

Conversation

@tataihono
Copy link
Copy Markdown
Contributor

Summary

🤖 Generated with Claude Code

Remove eslint-disable/enable comments referencing undefined rules
(react-hooks/set-state-in-effect, @next/next/no-img-element) and
fix blank lines left behind. Add CLAUDE.md rule to never skip hooks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@railway-app
Copy link
Copy Markdown

railway-app bot commented Apr 2, 2026

🚅 Deployed to the forge-pr-643 environment in forge

Service Status Web Updated (UTC)
@forge/manager ✅ Success (View Logs) Apr 2, 2026 at 8:53 am
@forge/cms ✅ Success (View Logs) Apr 2, 2026 at 4:22 am
1 service not affected by this PR
  • @forge/web

@railway-app railway-app bot temporarily deployed to forge / forge-pr-643 April 2, 2026 04:17 Destroyed
@railway-app railway-app bot temporarily deployed to forge / forge-pr-643 April 2, 2026 05:02 Destroyed
@tataihono tataihono force-pushed the fix/manager-prettier branch from 10b0a2f to e35104b Compare April 2, 2026 08:49
@railway-app railway-app bot temporarily deployed to forge / forge-pr-643 April 2, 2026 08:49 Destroyed
@tataihono tataihono force-pushed the fix/manager-prettier branch from e35104b to e5da6ad Compare April 2, 2026 11:59
@railway-app railway-app bot temporarily deployed to forge / forge-pr-643 April 2, 2026 11:59 Destroyed
The root eslint config was missing react-hooks and @next/next plugins
that CI has via eslint-config-next. This caused eslint-disable comments
referencing set-state-in-effect and no-img-element to error locally as
"Definition for rule not found", blocking all commits touching manager.

- Add eslint-plugin-react-hooks v7 and @next/eslint-plugin-next to root
- Register plugins in eslint.config.mjs for tsx/ts files
- Fix prettier formatting lost during #637 squash merge
- Add CLAUDE.md rule: never skip pre-commit hooks

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tataihono tataihono force-pushed the fix/manager-prettier branch from e5da6ad to 769055f Compare April 2, 2026 12:03
@railway-app railway-app bot temporarily deployed to forge / forge-pr-643 April 2, 2026 12:03 Destroyed
@tataihono tataihono merged commit 118b1c0 into main Apr 2, 2026
28 checks passed
@tataihono tataihono deleted the fix/manager-prettier branch April 2, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant