Skip to content

chore(deps): move off the end-of-life eslint 9 line - #251

Merged
sydevs-bot merged 14 commits into
mainfrom
claude/chore-243-eslint-10
Nov 18, 2026
Merged

sydevs-bot merged 14 commits into
mainfrom
claude/chore-243-eslint-10

Conversation

@sydevs-bot

@sydevs-bot sydevs-bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • [email protected] replaces the deprecated 9 line; eslint-plugin-react, which pinned us there and does not run on 10 at all, is replaced by three maintained packages, and the unused @eslint/js is dropped.
  • The new set found three real defects. Fixing them, rather than downgrading the rules, is most of this diff: a conditional hook in LayoutChrome, six useEffectEvent escapes across the two audio hooks, and a component built during render in Input.
  • Joined, not listed on the ticket: a prototype-chain hole the icon refactor opened, and a misnamed guard helper two rules were reporting. Both below.

Change outline

Contract — what the lint gate enforces

The old recommended carried 21 rules; four were off here, so 17 were live. Read off the plugin's own config object, not the diff:

 react.configs.flat.recommended (21 rules, 17 live)
-  react/jsx-key, no-danger-with-children, no-direct-mutation-state,
-  no-find-dom-node, no-render-return-value, no-deprecated
+  → @eslint-react equivalents, all still error
-  react/jsx-uses-vars
+  → @typescript-eslint/no-unused-vars counts JSX references (verified, not assumed)
-  react/jsx-no-duplicate-props, react/no-unknown-property
+  → no counterpart; tsc --noEmit reports both (TS17001, TS2322), and CI runs it
-  react/jsx-no-target-blank                          # error
+  @eslint-react/dom-no-unsafe-target-blank: 'error'  # shipped, but absent from
+                                                     # recommended-typescript
-  react/jsx-no-comment-textnodes, react/no-children-prop   # error
+  same rules, re-raised from the preset's 'warn' to 'error'
-  react/display-name                                 # error
+  @eslint-react/no-missing-component-display-name: 'error'
+                                     # narrower: reports only an anonymous
+                                     # memo/forwardRef component, so no call
+                                     # site here needs a disable
-  react/self-closing-comp   → @stylistic/jsx-self-closing-comp
-  react/jsx-sort-props      → perfectionist/sort-jsx-props
   require-render-return, no-is-mounted, no-string-refs: class-component rules,
   and this repo has no class components
+  new coverage with no predecessor: rules-of-hooks, static-components,
+  set-state-in-effect, the web-api leak rules

perfectionist has no reservedFirst/shorthandFirst/callbacksLast flags, so those become group order plus two customGroups. The block is load-bearing: without it the rule reports ~110 more warnings, and the repo's prop order silently becomes plain alphabetical.

Components — two shapes that broke a React rule

LayoutChrome called a hook below an early return, so hook order differed between a render with settings and one without. LayoutMap already split for this exact reason:

 LayoutChrome({ children })                      layouts/LayoutChrome.tsx
   useData<RouteData>()
   if (!settings) → bare children                # the error page, no chrome
-  useSiteNav(settings, …)                       # a hook below the return
-  usePageContext(), useT(), leadSplashFromRouteData(data)
+  <Chrome data={data} settings={settings}>
+
+ Chrome({ data, settings, children })           # module scope, reconciled by type
+   usePageContext(), useT()                     # data arrives as a prop, so
+   useSiteNav(settings, …)                      # one useData read serves both
+                                                # now unconditional

Input picked its icon through a call, which the rule reads as building a component during render wherever the function is declared — moving the switch to module scope does not satisfy it (measured):

 Input({ icon, type, … })             components/atoms/form/Input/Input.tsx
-  getDefaultIcon()                   # inner function returning a component
-    switch (type) → MagnifyingGlassIcon | … | null
+  DEFAULT_ICONS                      # module-scope table, no call
+  icon === undefined && type && Object.hasOwn(DEFAULT_ICONS, type)
+    ? DEFAULT_ICONS[type] : icon     # hasOwn: see Notes

Flow — how the audio hooks reach the caller's callbacks

React allows a useEffectEvent function to be called only from an Effect, and never to be assigned or passed down. Both hooks did both. A caller only ever holds the newest controls — that object was already rebuilt every render — so a plain function reads the same latest props, and the memoisation bought nothing:

 useAudioPlayer(options)                         hooks/audio/useAudioPlayer.ts
   updateTime = useEffectEvent(…)                # stays: called only from the
                                                 # polling Effect, which must not
                                                 # capture a stale `player`
-  handleOnPlay/Pause/End = useEffectEvent(…)    # handed to howler, fired later
+  latestRef = useRef({ onPlay, onPause, onEnd })
+  useEffect(… , [onPlay, onPause, onEnd])       # howler outlives the render
+  handleOnPlay/Pause/End = plain, read latestRef
-  seekTo = useEffectEvent(…); seek = useCallback(→ seekTo)
+  seek = plain                                  # two indirections collapse to one
-  play/pause/togglePlayPause = useEffectEvent(…)  # returned in `controls`
-  load = useCallback(…)                           # calls the Effect Events
+  all plain

 usePlaylistAudioPlayer(options)         hooks/audio/usePlaylistAudioPlayer.ts
-  handleTrackEnd = useEffectEvent(…)    # passed into load() for howler to store
+  playOrderRef = useRef(playOrder)      # lint misses this one: the hand-off
+  handleTrackEnd = plain                # crosses a module boundary
+    setCurrentTrackIndex(current => …)  # updater, so no index read is stale

Preview

Both are branch hosts, so each rebuilds on push. Pages worth opening, since no test here renders a browser:

  • any content page (/, /<slug>) — the LayoutChrome split: header, nav and footer must be unchanged, and a lead-splash page must still overlay its header
  • the error page (a 404 path) — the other side of the guard: bare content, no chrome
  • the Ladle playground, Input and MeditationPlayer stories — the icon table, and the audio controls after losing their memoisation

Test results

  • Lean gate: ✓ pnpm lint (0 errors, 2060 warnings), tsc --noEmit clean, vitest run 982 passed across 100 files
  • Targeted specs: 8 new in Input.test.tsx; tests/guards/ssr-visibility 13 passed after the rename
  • Build: N/A — nothing in securityReview.triggerPattern is touched, and CI runs the build and both preview deploys

Per-rule counts against main, which is what the ticket asks for rather than totals. Both columns re-measured after the main merge, with one command per tree:

Rule main @ 3cbf796 here
prettier/prettier 1032 1032
react/jsx-sort-props → perfectionist/sort-jsx-props 1005 839
react/self-closing-comp → @stylistic/jsx-self-closing-comp 1 1
@typescript-eslint/no-unused-vars 21 21
padding-line-between-statements 75 74
no-console 33 33
new @eslint-react/* warnings 0 60
errors 0 0
total 2167 2060

Manual verification

  1. Open a content page and a 404 on the preview; confirm chrome on the first and none on the second.
  2. Play a meditation, pause, seek, and let a track end in a playlist. The audio hooks lost their useCallback/useEffectEvent wrappers, and no test here can drive howler.
  3. Switch a music filter, then play a track. Unrelated to this PR but adjacent — fix(playlist): a filtered playlist plays and highlights the wrong track #249 is the bug it exposed.

Notes for reviewer

One acceptance-criteria item cannot be satisfied as written. npx eslint --print-config … | grep -c '"react/' returns 16, not 0. All 16 come from eslint-config-prettier, which ships react/* formatting rules as off whether or not the plugin is installed. No react/* rule is active — verified by parsing the printed config rather than grepping it.

Two findings joined here rather than becoming tickets, both surfaced by the review pass:

  • Input's table is indexed by a string the component does not validate (FormBuilder passes a SahajCloud block type straight through), so type="toString" found Object.prototype.toString, passed the truthiness check, and React wrote [object Undefined] into the icon slot. The switch it replaced returned null for any unknown type, so the refactor had lost a total case. Object.hasOwn restores it; a Map reads better but static-components rejects .get() as a component built during render. Pinned by a test that fails without the guard.
  • tests/guards/ssr-visibility.test.ts had a helper called useStateArgument that calls no hooks. My first attempt disabled rules-of-hooks for all of tests/guards/** with a comment claiming the rule was matching string fixtures. That was wrong: it was reporting a real misnamed function, and no-unnecessary-use-prefix was still pointing at the cause beside it. Renaming it fixed both and the carve-out is gone, so the rule covers that tree.

display-name is enforced again, at the reviewer's choice, and it cost no code. @eslint-react/no-missing-component-display-name reports only an anonymous component wrapped in memo or forwardRef, where react/display-name reported any function returning JSX without a name. The five forwardRef atoms all assign to a named const, and withDebugOverlay's returned converter is neither wrapper, so the inline disable this branch deleted stays deleted. Confirmed by a probe memo(() => <div />), which the rule errors on. Severity parity, not detection parity: an anonymous component outside those two wrappers is still unreported.

Judgement calls worth checking:

  • The React preset arrives via extends, not an object spread. A spread works only while the preset stays a plain object; the day it ships an array, it would drop every rule and pnpm lint would pass having checked nothing.
  • updateTime is the one surviving useEffectEvent. It is called only from the 100ms polling Effect, whose deps are [player.isPlaying]; as a plain function it would hold the player of the render that started the interval.
  • The new @eslint-react/* warnings are triaged in refactor(components): clear the React 19 warnings the new lint set found #250 rather than fixed here, so this stays a dependency migration. The triage is in that body, site by site, including which are false positives.

Deliberately not done: useAudioPlayer still re-derives "active sound id or the library fallback" in four places and duplicates its player.load option literal. Both predate this branch; collapsing them would turn a lint migration into an audio refactor with no test behind it.

Also filed: #249 — a filtered Playlist plays and highlights the wrong track. The no-array-index-key warning on that line sat on a genuine index mismatch against MusicLibrary, which passes indices into the unfiltered array.

Detail

Why eslint-plugin-react could not stay. ESLint 10 removed the rule-context API its React-version detection calls, so loading the plugin aborts the entire run with contextOrFilename.getFilename is not a function — zero files linted, non-zero exit. Waiting for a ^10 peer range would not have helped; the fix is upstream code. 7.37.5 is still latest, and the next tag points at an older 7.8.0-rc.0.

The install snag the ticket warned about did not reproduce. @typescript-eslint/[email protected] installed cleanly, so no pnpm.overrides pin was added.

Three packages, because no one of them covers the ground. @stylistic v6 dropped its own jsx-sort-props (v5 had it; jsx-props-style governs line breaks, not order), so the sort rule goes to perfectionist and the self-closing rule to @stylistic. @eslint-react ships neither. @stylistic earns its place for one rule firing once, and the rule stays: of the three plugins only @stylistic ships it, checked against @eslint-react's 141 rules and perfectionist's. Its module load measures 69ms.

@eslint/js was declared but imported nowhere, and has no 10.x release; grepped to zero references outside node_modules.

Checklist items confirmed by experiment, not inference:

  • the no-restricted-syntax translation guard still fires on a JSX string literal in components/
  • an unused import is reported while a component used only inside JSX is not — the react/jsx-uses-vars replacement check
  • dom-no-unsafe-target-blank fires on a probe <a target="_blank">, so the restored line is not dead
  • pnpm why eslint shows a single 10.x copy, and npm view [email protected] deprecated is empty

Lint cost, measured: the three new plugin imports add ~540ms of module load per invocation, and the React rules ~740ms of the ~5.6s rule time (prettier/prettier is 4.3s of it). Scoping the React config out of tests/, server/ and scripts/ would reclaim ~214ms; not done, because after the rename those trees report nothing, and the ignores would add a carve-out and a blind spot for a future React file there.

Closes #243


Generated by Claude Code

Every `eslint@9` release is deprecated on npm, and `9.39.5` is the last of
the line, so no in-range update will ever move it again. The line gets no
further fixes, security ones included.

`[email protected]` is what pinned us there, and it does not run on
`eslint@10` at all: ESLint 10 removed the rule-context API its React-version
detection calls, so loading the plugin aborts the whole run with
`contextOrFilename.getFilename is not a function`. Waiting for a `^10` peer
range would not help — the fix is upstream code, not a range bump.

Three maintained packages cover what it did:

- `@eslint-react/eslint-plugin`'s `recommended-typescript` set, for the 17
  live rules of the old recommended set
- `@stylistic/jsx-self-closing-comp`, for `react/self-closing-comp`
- `perfectionist/sort-jsx-props`, for `react/jsx-sort-props` —
  `@stylistic` 6 dropped its own sort rule

`perfectionist` takes the old rule's `reservedFirst`, `shorthandFirst` and
`callbacksLast` flags as group order, and its case-sensitive sort as an
explicit `ignoreCase: false`. That lands at 838 warnings where the old rule
reported 1004, with `prettier/prettier` unchanged at 1032.

`react/prop-types`, `react/jsx-uses-react`, `react/no-unescaped-entities` and
`react/react-in-jsx-scope` were set to `off`; none exists in the new set, so
there is nothing left to turn off. `react/jsx-uses-vars` also disappears, and
`@typescript-eslint/no-unused-vars` counts JSX references in its place —
confirmed against an unused import beside a component used only in JSX.

`@eslint/js` goes with it. It was declared but imported nowhere, and has no
10.x release to move to.

The one `react/*` rule left at `error` everywhere is `rules-of-hooks`. It is
off under `tests/guards/`, where the specs read the app's source with the
TypeScript compiler API: a `useX` there is a token being matched, not a hook
being called.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXEEFcnjh2zN69zzt2
`LayoutChrome` returned early when SahajCloud settings were missing, then
called `useSiteNav` below that return. The hook count therefore differed
between a render with settings and one without, and a client-side navigation
that crosses that line keeps the same component instance — React renders
fewer hooks than it expects and throws.

`LayoutMap` already splits for exactly this reason. Split the same way: the
export reads the data and guards, and `Chrome` holds every hook below it.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXEEFcnjh2zN69zzt2
`getDefaultIcon` was declared inside the render and returned a component, so
it read as a component built on every render — a component built that way
loses its state each time. The icons are four fixed imports, so a table at
module scope says the same thing without the call.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXEEFcnjh2zN69zzt2
React allows a `useEffectEvent` function to be called only from an Effect in
the same component, and never to be assigned or passed down. `play`, `pause`,
`togglePlayPause` and `seekTo` broke that: the first three went into the
returned `controls`, and `seekTo` was called from a `useCallback`. `load`
broke it too, by registering `handleOnPlay` and `handleOnPause` with howler.

A caller only ever holds the newest `controls` — the object is rebuilt every
render — so a plain function in the hook body reads the same latest props an
Effect Event would, and the memoisation bought nothing either way.

The three howler callbacks are the exception: howler keeps them past the
render that registered them, so they read the caller's handlers from a ref an
unconditional Effect keeps current. `updateTime` stays an Effect Event; it is
called only from Effects.

No behaviour changes. `exhaustive-deps` also drops a warning, with the
`useCallback` that carried it gone.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXEEFcnjh2zN69zzt2
Nothing checked which icon each input type gets, so the table the previous
commit introduced could have swapped a pair and still rendered an icon.
Comparing against the same input with the icon named explicitly is what
notices.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXEEFcnjh2zN69zzt2
The `tests/guards/` carve-out is gone. Forcing `rules-of-hooks` back on
produced exactly one error, from a helper named `useStateArgument` that calls
no hooks — a real misnamed function, not a token being matched, and
`no-unnecessary-use-prefix` was still reporting the cause beside it. Renaming
it to `stateArgument` fixes both and leaves the rule on for the whole tree.

The React preset now arrives through `extends` rather than an object spread.
A spread works only while the preset stays a plain object: the day it ships an
array, the spread drops every rule and `pnpm lint` passes having checked
nothing.

`usePlaylistAudioPlayer` had the same hazard this branch fixed one file over —
`handleTrackEnd`, an Effect Event, handed to `load` for howler to store. Lint
misses it because the hand-off crosses a module boundary. The play order moves
to a ref and the next index comes from the state updater, so no read is stale.

Smaller: `latestRef`'s effect takes a dependency list, matching
`useCircularProgress`; the arrow wrappers around the howler callbacks go, since
they existed only because an Effect Event could not be passed as a value;
`Chrome` takes `settings` alone and reads its own route data, as `MapChrome`
does, rather than taking one fact in two props; `DEFAULT_ICONS` is keyed on the
input type instead of indexed through an empty-string sentinel.

`Input.test.tsx` names the marker it asserts on. Both absence cases assert a
negative, and a negative with nothing anchoring it passes whether or not the
icon renders.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXEEFcnjh2zN69zzt2
Two findings from the review pass.

`DEFAULT_ICONS[type]` indexed an object literal with a string the component
does not validate — FormBuilder passes a SahajCloud block type straight
through — so `type="toString"` found `Object.prototype.toString`, passed the
truthiness check, and React wrote `[object Undefined]` into the icon slot. The
`switch` this replaced returned `null` for every unknown type, so the refactor
lost a total case. `Object.hasOwn` restores it. A `Map` would say it better,
but `static-components` rejects a lookup call as a component built during
render.

Reading the old plugin's own `recommended` config: 21 rules on, four turned off
here, so 17 live. `react/jsx-no-duplicate-props` and `react/no-unknown-property`
have no counterpart in the new set, but `tsc --noEmit` reports both (TS17001,
TS2322), and CI runs it. `react/jsx-no-target-blank` is covered by neither, so
`dom-no-unsafe-target-blank` is enabled explicitly — the new set ships it but
leaves it out of `recommended-typescript`. `jsx-no-comment-textnodes` and
`jsx-no-children-prop` arrive as warnings where they were errors; both report
zero, so parity costs nothing. All three verified against a probe file.

`react/display-name` stays unenforced. Its replacement exists, but the only
call site needed an inline disable, and the rule buys a devtools label rather
than a correctness guarantee.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXEEFcnjh2zN69zzt2
The new rule set fails `pnpm lint` on a conditional hook and on a component
built during render. Neither error names the shape that satisfies it, and the
layout split is not guessable from the message.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjXEEFcnjh2zN69zzt2

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 question for the reviewer, one per thread.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread eslint.config.js Resolved
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
wemeditate-web 41be3be Commit Preview URL

Branch Preview URL
Nov 17 2026, 11:49 PM

@sydevs-bot

sydevs-bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 no session running

recent dispatches
  • 23:40Z address-review · attempt 1 · session · done
  • 23:40Z address-review · attempt 1 · session
  • 23:30Z review-pr · attempt 1 · session · done
  • 23:30Z review-pr · attempt 1 · session
  • 23:22Z address-review · attempt 1 · session · done

Written by the sydevs dispatcher. Sessions never edit this comment.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
wemeditate-design 41be3be Commit Preview URL

Branch Preview URL
Nov 17 2026, 11:49 PM

@Ardnived

Copy link
Copy Markdown
Contributor

@sydevs-bot address

@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 17, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 17, 2026
Reviewer chose option B on the open question: restore severity parity for
the `react/display-name` slot rather than leave it unenforced.

`@eslint-react/no-missing-component-display-name` is narrower than the rule
it stands in for. It reports only an anonymous component wrapped in `memo`
or `forwardRef`, where `react/display-name` reported any function returning
JSX without a name. So it costs nothing here: the five `forwardRef`
components all assign to a named const, and `withDebugOverlay`'s returned
converter is not a memo or a forwardRef, so the inline disable this branch
deleted stays deleted. Confirmed by a probe `memo(() => <div />)`, which the
rule errors on, and by a full `eslint .` reporting zero errors.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYCGD5HrUJ8Ghy4StG
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Answered the display-name question — B built in eb8392d. The rule is narrower than my question claimed: it reports only an anonymous memo/forwardRef component, so it cost no inline disable and withDebugOverlay stays unreported. Severity parity, not detection parity. Body updated.

Merged origin/main (ffa5304) — this branch was conflicting, so no CI had been scheduled. package.json auto-merged: main's pinned @payloadcms/* 3.93.0 beside this branch's eslint 10 set. pnpm-lock.yaml was the conflict, and it is regenerated from the merged manifest rather than hand-resolved; both sides' versions resolve in it.

Lean gate on the merged tree: lint 0 errors / 2059 warnings (unchanged — the new rule reports nothing), tsc --noEmit clean, 963 tests across 97 files.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 17, 2026
@Ardnived
Ardnived marked this pull request as ready for review November 17, 2026 23:38

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧐 Adversarial review

The diff matches the ticket. Every file outside eslint.config.js and package.json traces to an error the new ruleset reports, and #243 named each one. One aggregate question stands: three plugins replace one, and the third serves a single warning.

The riskiest change carries no automated cover — both audio hooks lost every useCallback and useEffectEvent, and no test drives howler. I checked identity instead: nothing in MeditationPlayer or usePlaylistAudioPlayer depends on those functions' identity, and handleSeek's [controls] was already unstable on main. The manual steps are the real gate.

## Preview still reads "Preview pending" while both branch previews deployed hours ago, URLs in this thread. Put them in the body.

Findings

  • should-fix — eslint.config.js:163: a whole plugin for one rule that fires once.
  • should-fix — AGENTS.md:128: path-scoped guidance in the file that forbids it.
  • consider — layouts/LayoutChrome.tsx:49: Chrome re-reads useData; MapChrome does not.
  • consider — eslint.config.js:3: react now names a different package.

What was checked

Read whole on the branch: eslint.config.js, Input.tsx, Input.test.tsx, LayoutChrome.tsx, LayoutMap.tsx, both audio hooks, MeditationPlayer.tsx as consumer. git grep re-ran two criteria: no react/* rule, no inline react/* disable. Input.tsx:86 guards on truthiness, so IconComponent losing null for undefined is harmless.

Ladder walked on defineConfig, Object.hasOwn, DEFAULT_ICONS, Chrome, latestRef, playOrderRef. Both refs earn their place, playOrderRef more than its comment claims: toggling shuffle changes playOrder without re-running the load effect, so howler would fire a stale order.

No contract surface touched. Previews not opened, per this skill.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread eslint.config.js Resolved
Comment thread AGENTS.md Resolved
Comment thread layouts/LayoutChrome.tsx Resolved
Comment thread eslint.config.js Resolved
@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 17, 2026
@sydevs-bot sydevs-bot moved this from Working to Pending in SYDevelopers Technical Roadmap Nov 17, 2026
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 17, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 17, 2026
web-flow and others added 4 commits November 17, 2026 23:42
`react` named eslint-plugin-react before this branch and now names
\@eslint-react/eslint-plugin. A reader checking that no `react/*` rule
survives reads `react.configs[…]` as the plugin that went.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYcpKcvEQhUgJURnSx
Chrome read useData three lines after LayoutChrome read it, so the two
call sites each had to name RouteData. MapChrome, the sibling the split
cites, takes only props.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYcpKcvEQhUgJURnSx
AGENTS.md says sixty lines above that path-scoped guidance does not live
in it, and it loads every session. The two component shapes belong to
design-system (components, layouts, pages); the use-prefix rule to
testing (tests).

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYcpKcvEQhUgJURnSx
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Addressed the adversarial review's four findings — 41be3be.

Adopted

Rebutted

  • eslint.config.js:163 — @stylistic stays. Only it ships jsx-self-closing-comp, and Ardnived already chose parity over economy here.

Merged origin/main clean (fe1276e). Gate: lint 0 errors / 2060 warnings, tsc clean, 982 tests / 100 files.

Body refreshed: preview URLs, the LayoutChrome outline, both per-rule columns re-measured.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 17, 2026
@sydevs-bot
sydevs-bot enabled auto-merge November 17, 2026 23:52
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 17, 2026
@sydevs-bot
sydevs-bot added this pull request to the merge queue Nov 18, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 18, 2026
Merged via the queue into main with commit d3e5eab Nov 18, 2026
67 of 72 checks passed
@sydevs-bot
sydevs-bot deleted the claude/chore-243-eslint-10 branch November 18, 2026 18:13
@sydevs-bot sydevs-bot moved this from Pending to Done in SYDevelopers Technical Roadmap Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

chore(deps): move off the end-of-life eslint 9 line

4 participants