.prettierrc.json was missing "semi": false, so prettier wanted to add semicolons to a codebase written without them (763 semicolon-free statements vs. 150 with, in hand-written .ts; zero hand-written .svelte files use them at all). That's why prettier --check failed on 249 files — not because the code was unformatted, but because the config didn't match the actual house style. Added "semi": false; left printWidth/etc as configured (printWidth barely moves the failure count: 218/213/212 files at 100/120/140). Ran `prettier --write .` with the corrected config. Verified semantics-preserving before and after: - eslint: 142 problems both before and after, byte-identical - build passes, 38/38 tests pass - token-stream diff (whitespace/semicolons/quotes normalized) on all 218 changed files: only 52 had any remaining token change, all either trailing-comma removal (matching trailingComma: "none") or import/ ternary reflow — no semantic changes - live smoke test: Knowledge, Tasks, Fleet map, and a chat window (AgentTrace, markdown, Scope graph, activity rail) all render correctly, no console errors Most of the diff is shadcn/ui vendor files (lib/components/ui/) moving from the CLI's own style (double quotes, tabs, semicolons) to house style; re-running `shadcn-svelte add` on a component will need a follow-up format pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
53 lines
1.6 KiB
TypeScript
53 lines
1.6 KiB
TypeScript
import Root from './context-menu.svelte'
|
|
import Sub from './context-menu-sub.svelte'
|
|
import Portal from './context-menu-portal.svelte'
|
|
import Trigger from './context-menu-trigger.svelte'
|
|
import Group from './context-menu-group.svelte'
|
|
import RadioGroup from './context-menu-radio-group.svelte'
|
|
import Item from './context-menu-item.svelte'
|
|
import GroupHeading from './context-menu-group-heading.svelte'
|
|
import Content from './context-menu-content.svelte'
|
|
import Shortcut from './context-menu-shortcut.svelte'
|
|
import RadioItem from './context-menu-radio-item.svelte'
|
|
import Separator from './context-menu-separator.svelte'
|
|
import SubContent from './context-menu-sub-content.svelte'
|
|
import SubTrigger from './context-menu-sub-trigger.svelte'
|
|
import CheckboxItem from './context-menu-checkbox-item.svelte'
|
|
import Label from './context-menu-label.svelte'
|
|
|
|
export {
|
|
Root,
|
|
Sub,
|
|
Portal,
|
|
Item,
|
|
GroupHeading,
|
|
Label,
|
|
Group,
|
|
Trigger,
|
|
Content,
|
|
Shortcut,
|
|
Separator,
|
|
RadioItem,
|
|
SubContent,
|
|
SubTrigger,
|
|
RadioGroup,
|
|
CheckboxItem,
|
|
//
|
|
Root as ContextMenu,
|
|
Sub as ContextMenuSub,
|
|
Portal as ContextMenuPortal,
|
|
Item as ContextMenuItem,
|
|
GroupHeading as ContextMenuGroupHeading,
|
|
Group as ContextMenuGroup,
|
|
Content as ContextMenuContent,
|
|
Trigger as ContextMenuTrigger,
|
|
Shortcut as ContextMenuShortcut,
|
|
RadioItem as ContextMenuRadioItem,
|
|
Separator as ContextMenuSeparator,
|
|
RadioGroup as ContextMenuRadioGroup,
|
|
SubContent as ContextMenuSubContent,
|
|
SubTrigger as ContextMenuSubTrigger,
|
|
CheckboxItem as ContextMenuCheckboxItem,
|
|
Label as ContextMenuLabel
|
|
}
|