Repository navigation
chore: adopt the shared toolchain and reformat - #3038
Merged
Merged
Conversation
oxfmt 0.44.0 -> 0.64.0, oxlint 1.59.0 -> 1.79.0 (with its required oxlint-tsgolint 7.0.2001 type-aware engine), turbo 2.9.14 -> 2.10.11 and commitlint 20.5.0 -> 21.2.2, aligning every tale-project repository on one toolchain so the shared lint and format configs can be byte-identical.
The root .oxlintrc.json and .oxfmtrc.json are now byte-identical copies of the tale-project example-project standard: oxfmt's renamed sortImports / sortTailwindcss keys with a generic ignore list (markdown and YAML leave formatter scope), and a merged rule set that adds the oxc and promise plugins plus import/no-cycle while keeping the jsx-a11y wall. Rules the new engine enforces but the codebase cannot pay down in one change land as explicit per-workspace relaxations in the nested configs (React Compiler family, promise/always-return, the platform a11y trio and its 21 import cycles) — the debt ledger lives in .agents/repo.md.
oxlint 1.79 discovers nested configs everywhere, so the .oxlintrc.json files inside tools/plop/templates started hard-failing the whole run: their extends target only exists after generation. They ship as .hbs now (the add action already strips the suffix on scaffold), which keeps them out of nested-config discovery without changing what generators emit.
The sites the new rules flag for real: merged template-literal concats, then() callbacks that now return explicitly, single-use type parameters inlined in the i18n useT wrappers and useResizeObserver, assertions the sharper engine proves redundant in sandbox and the ui markdown layer, and a comment-only convex module deleted outright. The two SSO/dashboard iframes and the connect-middleware next() call keep their behaviour and document why with inline disables; data-table's six ColumnMeta assertions stay because the unaugmented TanStack generic misleads the engine there.
…xfmt 0.64 Mechanical output of the bumped toolchain, two tools in one sweep: oxlint --type-aware --fix removes the type assertions the tsgolint 7 engine proves unnecessary across the platform workspace, and bun run format applies oxfmt 0.64 (tailwind class sorting inside cn/cva, import sorting, package.json key sorting). No hand-written changes ride along.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
First of two PRs aligning tale with the new `tale-project/example-project` template standard (byte-identical lint/format configs across all org repos).
Verification
`format:check`, `turbo lint` (type-aware), `turbo typecheck`, `turbo test`, `test:ui`, full opengrep scan (0 findings) — all green locally. Two pre-existing machine-local reds reproduce identically on clean main and are untouched: one `rest_machine_door` vitest case and the knip e2e-fixture list.
Part 2 (agent contract + standard CI workflow set) follows on top of this branch.