mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-07-08 08:27:39 +08:00
Rename src/renderer/components/Icons -> icons and Tags -> tags (bucket directories, lowercase plural per naming-conventions §4.3) and RichEditor/toolbar.tsx -> Toolbar.tsx (component file, PascalCase per §4.7) so the on-disk casing matches the existing imports. No import statements changed. On macOS's case-insensitive filesystem the mismatch resolved fine at build time, but oxlint-tsgolint builds a case-sensitive TS program: files walked under their real disk case failed to match program entries keyed under the imported case, crashing `oxlint --fix` (and typecheck with TS1149) with "Unmatched files ... Expected file X to be in program tsconfig.web.json". This aborted the whole `pnpm lint` chain before typecheck/i18n/format ran.