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