Commit 7b9093e
Fix ESLint failures surfaced on the base PR's first lint run
Sub-PR workflows skip lint_test.yml (it triggers only on PRs targeting
master), so these slipped through into the integration branch:
- SimpleCommentScreen.jsx: pre-existing line-form disable for
max-classes-per-file broke when #729 inserted `'use client'` ahead of
it (the rule reports at file position 1:1; line-form disable on the
import below no longer covered). Switch to a block-form disable at
file top.
- ServerComponentsPage.jsx, LiveActivity.jsx, CommentsFeed.jsx:
block-form disable for react/prop-types. React 19 removed runtime
propTypes validation; the new components rely on ES default
destructuring rather than dead PropTypes declarations.
- LiveActivityRefresher.jsx: line-form disable for
react/no-unstable-nested-components on the ErrorBoundary's
fallbackRender prop. The render-prop API is canonical for
react-error-boundary when the fallback needs a closure; it cannot be
hoisted without losing access to parent state (refreshKey,
setRefreshKey, refetchComponent via buildRetry).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4c2a3e9 commit 7b9093e
5 files changed
Lines changed: 10 additions & 1 deletion
File tree
- client/app/bundles
- comments/components/SimpleCommentScreen/ror_components
- server-components
- components
- ror_components
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | | - | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
0 commit comments