Open History to see the last commit
1import "vite-plus/test/config";
2import { defineConfig } from "vite-plus";
3import * as NodeURL from "node:url";
4import { remoteCacheUrl } from "./infra/task-cache/src/remoteCache.ts";
5import { cachedTestTasks } from "./scripts/lib/cached-tests.ts";
6
7const DOM_TEST_ENVIRONMENT_ALLOWLIST: Array<string> = [];
8
9const TEST_EXCLUDE = [
10 "**/.repos/**",
11 "**/.t3/**",
12 "**/node_modules/**",
13 "**/dist/**",
14 "**/dist-electron/**",
15 "**/.{idea,git,cache,output,temp}/**",
16];
17
18// Directories whose tests belong to a package's own test config. desktop also
19// owns the kde-snap-shot tests through its `include`.
20const TEST_CONFIG_PACKAGES = [
21 "apps/desktop",
22 "apps/mobile",
23 "apps/server",
24 "apps/web",
25 "packages/client-runtime",
26];
27
28// `vp test run <file>` from the repo root hands each file to its package's
29// config. Packages that borrow this config (`--config ../../vite.config.ts`) run
30// from their own directory, as CI does, so they keep one plain project.
31const isRepoRootTestRun = process.cwd() === import.meta.dirname;
32
33const RESTRICTED_IMPORT_PATHS = [
34 {
35 name: "@t3tools/client-runtime",
36 message:
37 "Import from an explicit @t3tools/client-runtime/* subpath. The package has no root export.",
38 },
39 {
40 name: "@pierre/diffs/react",
41 importNames: ["CodeView"],
42 message: "Use StyledDiffCodeView so web diff surfaces share styling and virtualized geometry.",
43 },
44 {
45 name: "react-native-screens",
46 importNames: ["ScrollViewMarker"],
47 message:
48 "Use NativeScrollViewMarker or NativeScrollView (src/native/NativeScrollViewMarker.tsx): they carry the header's scroll-edge blur under the Duo's vertical bar.",
49 },
50];
51
52const RESTRICTED_UI_VARIANT_PATTERNS = [
53 {
54 group: ["**/components/ui/*", "**/ui/*", "./ui/*"],
55 importNames: ["buttonVariants", "toggleVariants", "badgeVariants", "selectTriggerVariants"],
56 message:
57 "Render the components/ui export instead of borrowing its class recipe (render={<Button …/>}, SelectButton, ToggleGroup).",
58 },
59];
60
61const RESTRICTED_PULL_REQUEST_GLYPH_IMPORTS = {
62 name: "lucide-react",
63 importNames: [
64 "GitMerge",
65 "GitMergeIcon",
66 "GitPullRequest",
67 "GitPullRequestIcon",
68 "GitPullRequestArrow",
69 "GitPullRequestArrowIcon",
70 "GitPullRequestClosed",
71 "GitPullRequestClosedIcon",
72 "GitPullRequestDraft",
73 "GitPullRequestDraftIcon",
74 "GitPullRequestCreate",
75 "GitPullRequestCreateIcon",
76 "GitPullRequestCreateArrow",
77 "GitPullRequestCreateArrowIcon",
78 ],
79 message:
80 "Pick a glyph by meaning from PullRequestGlyph in apps/web/src/components/pullRequest/pullRequestIcons.tsx so every surface draws the same pull request the same way.",
81};
82
83// Vite+ supports remote configuration before its published types include it.
84const cacheUrl = remoteCacheUrl(import.meta.dirname);
85const taskCacheConfig = {
86 scripts: false,
87 ...(cacheUrl ? { remote: { url: cacheUrl } } : {}),
88};
89
90export default defineConfig({
91 run: {
92 cache: taskCacheConfig,
93 tasks: cachedTestTasks(process.env.T3_CACHED_TESTS),
94 },
95 resolve: {
96 alias: {
97 "~": NodeURL.fileURLToPath(new URL("./apps/web/src", import.meta.url)),
98 },
99 },
100 test: {
101 environment: "node",
102 // Fixture subprocesses must not inherit the outer task runner’s cache policy.
103 env: { VP_REMOTE_CACHE: "off", VP_REMOTE_CACHE_URL: "" },
104 exclude: TEST_EXCLUDE,
105 hookTimeout: 60_000,
106 testTimeout: 60_000,
107 allowOnly: !process.env.CI,
108 // Flaky tests are fixed, not retried.
109 retry: 0,
110 fakeTimers: {
111 toFake: [
112 "setTimeout",
113 "clearTimeout",
114 "setInterval",
115 "clearInterval",
116 "setImmediate",
117 "clearImmediate",
118 "Date",
119 "performance",
120 "requestAnimationFrame",
121 "cancelAnimationFrame",
122 "requestIdleCallback",
123 "cancelIdleCallback",
124 ],
125 },
126 setupFiles: [
127 NodeURL.fileURLToPath(
128 new URL("./packages/shared/src/testing/longTempDir.ts", import.meta.url),
129 ),
130 NodeURL.fileURLToPath(
131 new URL("./packages/shared/src/testing/providerEnv.ts", import.meta.url),
132 ),
133 ],
134 ...(isRepoRootTestRun
135 ? {
136 projects: [
137 ...TEST_CONFIG_PACKAGES,
138 {
139 extends: true,
140 test: {
141 name: "root",
142 exclude: [
143 ...TEST_EXCLUDE,
144 ...TEST_CONFIG_PACKAGES.map((dir) => `${dir}/**`),
145 "native/kde-snap-shot/**",
146 ],
147 },
148 },
149 ],
150 }
151 : {}),
152 },
153 staged: {
154 "*": "vp fmt --no-error-on-unmatched-pattern",
155 },
156 fmt: {
157 ignorePatterns: [
158 ".repos/**",
159 "infra/task-cache/vendor/**",
160 // Macroscope requires one glob per line; Markdown formatting corrupts it.
161 ".macroscope/ignore.md",
162 ".alchemy",
163 "dist",
164 "dist-electron",
165 "node_modules",
166 "pnpm-lock.yaml",
167 "*.tsbuildinfo",
168 "**/routeTree.gen.ts",
169 "**/*.graphql.ts",
170 "packages/source-control-github/schema/**",
171 "apps/server/schema/**",
172 "apps/mobile/android/**",
173 "apps/mobile/ios/**",
174 "apps/mobile/uniwind-types.d.ts",
175 // Vendored and generated C.
176 "apps/mobile/modules/t3-highlights/Vendor/**",
177 "apps/mobile/modules/t3-highlights/cpp/generated/**",
178 "*.icon/**",
179 ],
180 sortPackageJson: {},
181 overrides: [
182 {
183 files: [".devcontainer/devcontainer.json"],
184 options: {
185 trailingComma: "none",
186 },
187 },
188 ],
189 },
190 lint: {
191 ignorePatterns: [
192 ".repos",
193 ".repos/**",
194 "infra/task-cache/vendor/**",
195 "dist",
196 "dist-electron",
197 "node_modules",
198 "pnpm-lock.yaml",
199 "*.tsbuildinfo",
200 "**/routeTree.gen.ts",
201 "**/*.graphql.ts",
202 "packages/source-control-github/schema/**",
203 "apps/server/schema/**",
204 "apps/mobile/android/**",
205 "apps/mobile/ios/**",
206 "apps/mobile/uniwind-types.d.ts",
207 ],
208 plugins: ["eslint", "oxc", "react", "unicorn", "typescript"],
209 jsPlugins: ["./oxlint-plugin-t3code/index.ts", "@shadcn/lint"],
210 settings: {
211 shadcn: { ui: "~/components/ui" },
212 },
213 categories: {
214 correctness: "warn",
215 suspicious: "warn",
216 perf: "warn",
217 },
218 rules: {
219 "eslint/no-new": "error",
220 "unicorn/no-useless-spread": "error",
221 "eslint/no-unused-vars": [
222 "error",
223 { argsIgnorePattern: "^_", varsIgnorePattern: "^_", caughtErrorsIgnorePattern: "^_" },
224 ],
225 "eslint/no-unsafe-optional-chaining": "error",
226 "eslint/no-unneeded-ternary": "error",
227 "unicorn/no-useless-fallback-in-spread": "error",
228 "unicorn/require-module-specifiers": "error",
229 "unicorn/no-array-sort": "off",
230 "unicorn/consistent-function-scoping": "off",
231 "oxc/no-map-spread": "off",
232 "react-in-jsx-scope": "off",
233 "react-hooks/exhaustive-deps": "off",
234 "eslint/no-shadow": "off",
235 "eslint/no-await-in-loop": "off",
236 "eslint/no-underscore-dangle": "off",
237 "typescript/consistent-return": "off",
238 "typescript/no-base-to-string": "off",
239 "typescript/no-duplicate-type-constituents": "off",
240 "typescript/no-floating-promises": "off",
241 "typescript/no-implied-eval": "off",
242 "typescript/no-meaningless-void-operator": "off",
243 "typescript/no-redundant-type-constituents": "off",
244 "typescript/no-unnecessary-boolean-literal-compare": "off",
245 "typescript/no-unnecessary-type-conversion": "off",
246 "typescript/no-unnecessary-type-arguments": "off",
247 "typescript/no-unnecessary-type-assertion": "off",
248 "typescript/no-unnecessary-type-parameters": "off",
249 "typescript/no-unsafe-type-assertion": "off",
250 "typescript/await-thenable": "off",
251 "typescript/require-array-sort-compare": "off",
252 "typescript/restrict-template-expressions": "off",
253 "typescript/unbound-method": "off",
254 "eslint/no-restricted-imports": [
255 "error",
256 { paths: [...RESTRICTED_IMPORT_PATHS, RESTRICTED_PULL_REQUEST_GLYPH_IMPORTS] },
257 ],
258 "t3code/no-global-process-runtime": "error",
259 "t3code/no-inline-schema-compile": "warn",
260 "t3code/no-low-value-comments": "error",
261 "t3code/no-manual-effect-runtime-in-tests": "error",
262 "t3code/no-native-title-tooltip": "error",
263 // Test files only (the rule checks the filename).
264 "t3code/no-polling-loop-in-tests": "error",
265 "t3code/no-raw-mcp-registration": "error",
266 "t3code/no-real-time-wait-in-tests": "error",
267 "t3code/no-test-in-loop": "error",
268 "t3code/no-test-timeout-or-unreasoned-skip": "error",
269 "t3code/no-rpc-permission-bypass": ["error", { allowRawClientAccess: true }],
270 "t3code/no-unscoped-has": "error",
271 "t3code/no-wall-clock-in-tests": "error",
272 "t3code/namespace-node-imports": "error",
273 "t3code/prefer-catch-tags": "error",
274 "t3code/prefer-effect-fn": "error",
275 "t3code/require-centered-scroll-gutter": "error",
276 "t3code/require-suppression-reason": "error",
277 },
278 overrides: [
279 {
280 files: [
281 "**/*.{test,spec,testkit}.{ts,tsx}",
282 "**/{test,tests,testkit,testing,fixtures,integration}/**",
283 "packages/provider-testing/**",
284 ],
285 rules: { "t3code/prefer-effect-fn": "off" },
286 },
287 {
288 files: ["apps/web/**/*.test.{ts,tsx}"],
289 rules: { "t3code/require-disposable-render": "error" },
290 },
291 {
292 files: ["apps/web/src/**/*.browser.test.{ts,tsx}"],
293 rules: { "t3code/no-frame-waits-in-browser-tests": "error" },
294 },
295 {
296 // Burn-down list: these files still have polling loops, so they stay at "warn".
297 // Remove a file when you convert its loops. New polling loops in all other
298 // test files fail lint. Do not add new files to this list.
299 files: [
300 "apps/mobile/src/features/agent-awareness/remoteRegistration.test.ts",
301 "apps/server/src/background/HostPowerMonitor.test.ts",
302 "apps/server/src/orchestration-v2/Adapters/AcpAdapterV2.test.ts",
303 "apps/server/src/orchestration-v2/FoundationPersistence.test.ts",
304 "apps/server/src/project/ProjectEnrichmentService.test.ts",
305 "apps/server/src/project/ProjectService.test.ts",
306 "apps/server/src/scheduledTasks/ScheduledTaskService.webhook.test.ts",
307 "apps/server/src/usage/UsageService.test.ts",
308 "packages/client-runtime/src/connection/supervisor.test.ts",
309 "packages/client-runtime/src/rpc/client.test.ts",
310 "packages/client-runtime/src/rpc/session.test.ts",
311 "packages/client-runtime/src/state/shell-sync.test.ts",
312 "packages/client-runtime/src/state/threads-sync.test.ts",
313 "packages/shared/src/atomicWrite.test.ts",
314 ],
315 rules: { "t3code/no-polling-loop-in-tests": "warn" },
316 },
317 {
318 files: ["apps/**/src/**", "packages/**/src/**"],
319 excludeFiles: DOM_TEST_ENVIRONMENT_ALLOWLIST,
320 rules: { "t3code/no-dom-test-environment": "error" },
321 },
322 {
323 files: ["packages/client-runtime/src/state/**", "apps/{web,mobile,desktop}/src/**"],
324 rules: { "t3code/no-rpc-permission-bypass": ["error", { allowRawClientAccess: false }] },
325 },
326 {
327 files: [
328 "packages/client-runtime/src/state/runtime.ts",
329 "packages/client-runtime/src/state/vcsAction.ts",
330 ],
331 rules: {
332 "t3code/no-rpc-permission-bypass": [
333 "error",
334 { allowGuardInstallation: true, allowRawClientAccess: false },
335 ],
336 },
337 },
338 {
339 files: [
340 "apps/web/src/components/settings/AuthorizedClientsSettings.tsx",
341 "apps/web/src/components/settings/ConnectionsSettings.tsx",
342 "apps/mobile/src/features/updates/app-updates.ts",
343 "apps/web/src/components/device/DevicePhoneViewport.tsx",
344 "apps/web/src/components/device/DeviceDuoViewport.tsx",
345 ],
346 rules: { "t3code/no-rpc-permission-bypass": ["error", { allowRawClientAccess: true }] },
347 },
348 {
349 files: ["packages/client-runtime/src/connection/outdatedHostUpdate.ts"],
350 rules: { "t3code/no-rpc-permission-bypass": "off" },
351 },
352 {
353 files: [
354 "packages/client-runtime/src/rpc/**",
355 "**/*.{test,spec}.{ts,tsx,js,jsx,mts,cts,mjs,cjs}",
356 ],
357 rules: { "t3code/no-rpc-permission-bypass": "off" },
358 },
359 {
360 files: ["packages/shared/src/HostProcess.ts"],
361 rules: { "t3code/no-global-process-runtime": "off" },
362 },
363 {
364 // The `t3` npm launcher is published as plain, dependency-free Node.
365 files: ["scripts/npm-launcher/**"],
366 rules: {
367 "t3code/no-global-process-runtime": "off",
368 "t3code/namespace-node-imports": "off",
369 },
370 },
371 {
372 files: ["apps/server/src/mcp/McpHttpServer.ts"],
373 rules: { "t3code/no-raw-mcp-registration": "off" },
374 },
375 {
376 files: ["apps/web/src/**"],
377 excludeFiles: ["apps/web/src/components/ui/**"],
378 rules: {
379 "eslint/no-restricted-imports": [
380 "error",
381 {
382 paths: [...RESTRICTED_IMPORT_PATHS, RESTRICTED_PULL_REQUEST_GLYPH_IMPORTS],
383 patterns: RESTRICTED_UI_VARIANT_PATTERNS,
384 },
385 ],
386 },
387 },
388 {
389 files: ["apps/web/src/components/pullRequest/pullRequestIcons.tsx"],
390 rules: { "eslint/no-restricted-imports": ["error", { paths: RESTRICTED_IMPORT_PATHS }] },
391 },
392 {
393 // The server and every client load a forge's shared definition, so a UI runtime
394 // imported there would break the server; client-only forge code goes in `src/client/`.
395 files: ["packages/source-control-*/src/shared/**"],
396 rules: {
397 "eslint/no-restricted-imports": [
398 "error",
399 {
400 paths: [...RESTRICTED_IMPORT_PATHS, RESTRICTED_PULL_REQUEST_GLYPH_IMPORTS],
401 patterns: [
402 {
403 group: [
404 "react",
405 "react/*",
406 "react-*",
407 "expo",
408 "expo-*",
409 "lucide-react",
410 "@t3tools/client-runtime",
411 "@t3tools/client-runtime/*",
412 "../client/*",
413 "../server/*",
414 "../../client/*",
415 "../../server/*",
416 "../../../client/*",
417 "../../../server/*",
418 "@t3tools/source-control-*/client/*",
419 "@t3tools/source-control-*/server/*",
420 ],
421 message:
422 "Shared forge definitions load on the server and every client; keep UI and server code out.",
423 },
424 ],
425 },
426 ],
427 },
428 },
429 {
430 files: ["apps/server/src/**", "packages/source-control-*/src/server/**"],
431 rules: {
432 "eslint/no-restricted-imports": [
433 "error",
434 {
435 paths: [...RESTRICTED_IMPORT_PATHS, RESTRICTED_PULL_REQUEST_GLYPH_IMPORTS],
436 patterns: [
437 {
438 group: [
439 "@t3tools/source-control-*/client/*",
440 "../client/*",
441 "../../client/*",
442 "../../../client/*",
443 ],
444 message:
445 "A forge's client entry is UI-only; the server reads its `shared/definition`.",
446 },
447 ],
448 },
449 ],
450 },
451 },
452 {
453 files: ["apps/mobile/src/**"],
454 rules: {
455 "t3code/no-mobile-uniwind-theme-escape-hatches": "error",
456 "t3code/require-registered-list-scroll": "error",
457 },
458 },
459 {
460 files: ["apps/mobile/src/**"],
461 excludeFiles: [
462 "apps/mobile/src/components/ui/AppSymbol.tsx",
463 "apps/mobile/src/components/ui/AppSymbol.ios.tsx",
464 "apps/mobile/src/features/pull-requests/pullRequestGlyphs.ts",
465 ],
466 rules: { "t3code/no-mobile-pull-request-glyph-literals": "error" },
467 },
468 {
469 files: ["apps/mobile/src/**"],
470 excludeFiles: ["**/*.test.{ts,tsx}"],
471 rules: { "t3code/no-ambiguous-detail-navigation": "error" },
472 },
473 {
474 // Raw ResizeObserver state commits miss the paint; observeResize flushes derived layout together.
475 files: ["apps/web/src/**"],
476 excludeFiles: [
477 "apps/web/src/lib/observeResize.ts",
478 "**/*.{test,spec}.{ts,tsx,js,jsx,mts,cts,mjs,cjs}",
479 ],
480 rules: { "t3code/no-raw-resize-observer": "error" },
481 },
482 {
483 files: ["apps/web/src/**"],
484 rules: { "shadcn/no-unknown-classes": "error" },
485 },
486 {
487 files: ["apps/web/src/**"],
488 rules: { "t3code/no-outset-state-indicators": "error" },
489 },
490 {
491 files: ["apps/*/src/**", "packages/*/src/**"],
492 excludeFiles: [
493 "**/*.{test,spec}.{ts,tsx,js,jsx,mts,cts,mjs,cjs}",
494 "**/testkit/**",
495 "**/_generated/**",
496 // Real user quotes stay verbatim.
497 "apps/marketing/src/lib/tweets.ts",
498 ],
499 rules: { "t3code/no-em-dash-copy": "error" },
500 },
501 {
502 files: ["apps/web/src/**"],
503 rules: { "shadcn/no-raw-colors": "error" },
504 },
505 {
506 // Third-party marks must retain their exact colors.
507 files: ["apps/web/src/components/Icons.tsx", "apps/web/src/components/JetBrainsIcons.tsx"],
508 rules: { "shadcn/no-raw-colors": "off" },
509 },
510 {
511 files: ["apps/web/src/**"],
512 excludeFiles: ["apps/web/src/components/ui/**"],
513 rules: {
514 "shadcn/require-static-classes": "error",
515 "shadcn/no-arbitrary-values": [
516 "error",
517 {
518 allow: [
519 "layout",
520 "transition",
521 "rounded-[inherit]",
522 "gap-[0.33em]",
523 "px-[0.5em]",
524 "rounded-[0.5em]",
525 "text-[0.86em]",
526 "rounded-[25%]",
527 "text-[length:80cqh]",
528 "bg-[Highlight]",
529 "fill-[#26251E]",
530 "fill-[#EDECEC]",
531 "fill-[#0F0F0F]",
532 "fill-[#F5F5F5]",
533 "fill-[#d97757]",
534 "text-[#d97757]",
535 ],
536 },
537 ],
538 "shadcn/no-restyle": [
539 "error",
540 {
541 allow: ["layout"],
542 contracts: [
543 {
544 // CollapsibleTrigger has no styled counterpart; other triggers use render={<Button …/>}.
545 pattern: "^CollapsibleTrigger$",
546 allow: ["layout", "color", "typography", "spacing", "shape", "effects", "motion"],
547 },
548 ],
549 },
550 ],
551 },
552 },
553 {
554 // React Compiler owns memoization; upstream rules do not ban redundant useMemo/useCallback.
555 files: ["apps/web/src/**/*.{ts,tsx}"],
556 rules: {
557 "react/exhaustive-effect-dependencies": "error",
558 "react/globals": "error",
559 "react/hooks": "error",
560 "react/immutability": "error",
561 // The compiler memoizes context values; this rule would ask for useMemo.
562 "react/jsx-no-constructed-context-values": "off",
563 "react/memo-dependencies": "error",
564 "react/preserve-manual-memoization": "error",
565 // oxlint 1.88 treats `new Date()` as impure (oxc#26894) and also flags it inside event
566 // handlers (oxc#27309). The compiler we ship (oxc-transform-react) still compiles
567 // those files, and reactCompilerCoverage.test.ts fails on real bailouts.
568 "react/purity": "warn",
569 "react/refs": "error",
570 "react/set-state-in-effect": "error",
571 "react/set-state-in-render": "error",
572 "react/static-components": "error",
573 "react/unsupported-syntax": "error",
574 "t3code/no-manual-memo": "error",
575 },
576 },
577 {
578 // The sign-in masthead is T3 brand artwork: fixed gradients, not theme surfaces.
579 files: ["apps/web/src/components/auth/AuthSurfaceShell.tsx"],
580 rules: { "shadcn/no-arbitrary-values": "off" },
581 },
582 {
583 // ESNext types allow APIs absent from Hermes; restrict shared client code, exempting Node tests.
584 files: [
585 "apps/mobile/src/**",
586 "packages/client-runtime/src/**",
587 "packages/contracts/src/**",
588 "packages/shared/src/**",
589 ],
590 excludeFiles: ["**/*.test.ts", "**/*.test.tsx"],
591 rules: { "t3code/no-hermes-unsupported-apis": "error" },
592 },
593 {
594 // Directives hide bailouts from mobile's compiler-coverage check; retain hooks until its allowlist is empty.
595 files: ["apps/mobile/src/**/*.{ts,tsx}"],
596 rules: { "t3code/no-manual-memo": ["error", { allowMemoHooks: true }] },
597 },
598 {
599 files: ["apps/web/src/**", "apps/mobile/src/**", "packages/*/src/**"],
600 rules: { "t3code/react-effect-budget": "error" },
601 },
602 {
603 // React Compiler caches use* functions only if they call a hook.
604 files: ["apps/web/src/**/*.{ts,tsx}", "apps/mobile/src/**/*.{ts,tsx}"],
605 excludeFiles: ["**/*.test.ts", "**/*.test.tsx"],
606 rules: { "t3code/no-hookless-use-function": "error" },
607 },
608 {
609 files: [
610 "apps/mobile/src/features/archive/ArchivedThreadsScreen.tsx",
611 "apps/mobile/src/features/connection/ConnectionsNewRouteScreen.tsx",
612 "apps/mobile/src/features/files/FileMarkdownPreview.tsx",
613 "apps/mobile/src/features/files/SourceFileSurface.tsx",
614 "apps/mobile/src/features/files/AttachmentFileScreen.tsx",
615 "apps/mobile/src/features/files/ThreadFilesRouteScreen.tsx",
616 "apps/mobile/src/features/files/thread-file-navigator-pane.tsx",
617 "apps/mobile/src/features/home/HomeHeader.tsx",
618 "apps/mobile/src/features/review/ReviewSheet.tsx",
619 "apps/mobile/src/features/review/useNativeReviewDiffBridge.ts",
620 "apps/mobile/src/features/settings/SettingsEnvironmentsRouteScreen.tsx",
621 "apps/mobile/src/features/threads/GitActionProgressOverlay.tsx",
622 "apps/mobile/src/features/threads/NewTaskDraftScreen.tsx",
623 "apps/mobile/src/features/threads/ThreadComposer.tsx",
624 "apps/mobile/src/features/threads/ThreadFeed.tsx",
625 "apps/mobile/src/features/settings/appearance/components/FontSizeSliderRow.tsx",
626 "apps/mobile/src/features/threads/NewTaskContextPickerScreens.tsx",
627 "apps/mobile/src/features/threads/ThreadQueueControl.tsx",
628 "apps/mobile/src/features/review/ReviewCommentCard.tsx",
629 "apps/mobile/src/features/threads/ThreadSettingsSheet.tsx",
630 "apps/mobile/src/features/threads/thread-list-items.tsx",
631 "apps/mobile/src/features/threads/thread-list-v2-items.tsx",
632 "apps/mobile/src/lib/useMobileNavigationTheme.ts",
633 "apps/mobile/src/native/T3ComposerEditor.ios.tsx",
634 "apps/mobile/src/native/T3ComposerEditor.native.tsx",
635 "apps/mobile/src/native/SelectableMarkdownText.tsx",
636 "apps/mobile/src/native/useEnrichedLinkVariants.ts",
637 ],
638 rules: {
639 "t3code/no-mobile-uniwind-theme-escape-hatches": ["error", { allowUniwindTheme: true }],
640 },
641 },
642 ],
643 options: {
644 reportUnusedDisableDirectives: "error",
645 typeAware: false,
646 typeCheck: false,
647 },
648 },
649});