The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 03:37 UTC
| 1 | import { definePlugin } from "@oxlint/plugins"; |
| 2 | |
| 3 | import maxSettingsDescriptionLength from "./rules/max-settings-description-length.ts"; |
| 4 | import namespaceNodeImports from "./rules/namespace-node-imports.ts"; |
| 5 | import noDomTestEnvironment from "./rules/no-dom-test-environment.ts"; |
| 6 | import noEmDashCopy from "./rules/no-em-dash-copy.ts"; |
| 7 | import noFrameWaitsInBrowserTests from "./rules/no-frame-waits-in-browser-tests.ts"; |
| 8 | import noGlobalProcessRuntime from "./rules/no-global-process-runtime.ts"; |
| 9 | import noHermesUnsupportedApis from "./rules/no-hermes-unsupported-apis.ts"; |
| 10 | import noHooklessUseFunction from "./rules/no-hookless-use-function.ts"; |
| 11 | import noInlineSchemaCompile from "./rules/no-inline-schema-compile.ts"; |
| 12 | import noLowValueComments from "./rules/no-low-value-comments.ts"; |
| 13 | import noManualMemo from "./rules/no-manual-memo.ts"; |
| 14 | import noManualEffectRuntimeInTests from "./rules/no-manual-effect-runtime-in-tests.ts"; |
| 15 | import noMobileUniwindThemeEscapeHatches from "./rules/no-mobile-uniwind-theme-escape-hatches.ts"; |
| 16 | import noAmbiguousDetailNavigation from "./rules/no-ambiguous-detail-navigation.ts"; |
| 17 | import noMobilePullRequestGlyphLiterals from "./rules/no-mobile-pull-request-glyph-literals.ts"; |
| 18 | import noNativeTitleTooltip from "./rules/no-native-title-tooltip.ts"; |
| 19 | import noSparklesIcon from "./rules/no-sparkles-icon.ts"; |
| 20 | import noUnreasonedStateSync from "./rules/no-unreasoned-state-sync.ts"; |
| 21 | import noUntranslatedCopy from "./rules/no-untranslated-copy.ts"; |
| 22 | import requireRegisteredListScroll from "./rules/require-registered-list-scroll.ts"; |
| 23 | import noOutsetStateIndicators from "./rules/no-outset-state-indicators.ts"; |
| 24 | import noPollingLoopInTests from "./rules/no-polling-loop-in-tests.ts"; |
| 25 | import noRawMcpRegistration from "./rules/no-raw-mcp-registration.ts"; |
| 26 | import noRawResizeObserver from "./rules/no-raw-resize-observer.ts"; |
| 27 | import noRealTimeWaitInTests from "./rules/no-real-time-wait-in-tests.ts"; |
| 28 | import noTestInLoop from "./rules/no-test-in-loop.ts"; |
| 29 | import noTestTimeoutOrUnreasonedSkip from "./rules/no-test-timeout-or-unreasoned-skip.ts"; |
| 30 | import noRpcPermissionBypass from "./rules/no-rpc-permission-bypass.ts"; |
| 31 | import noUnscopedHas from "./rules/no-unscoped-has.ts"; |
| 32 | import noWallClockInTests from "./rules/no-wall-clock-in-tests.ts"; |
| 33 | import preferCatchTags from "./rules/prefer-catch-tags.ts"; |
| 34 | import preferEffectFn from "./rules/prefer-effect-fn.ts"; |
| 35 | import requireCenteredScrollGutter from "./rules/require-centered-scroll-gutter.ts"; |
| 36 | import requireDisposableRender from "./rules/require-disposable-render.ts"; |
| 37 | import requireSuppressionReason from "./rules/require-suppression-reason.ts"; |
| 38 | |
| 39 | export default definePlugin({ |
| 40 | meta: { |
| 41 | name: "t3code", |
| 42 | }, |
| 43 | rules: { |
| 44 | "max-settings-description-length": maxSettingsDescriptionLength, |
| 45 | "namespace-node-imports": namespaceNodeImports, |
| 46 | "no-dom-test-environment": noDomTestEnvironment, |
| 47 | "no-em-dash-copy": noEmDashCopy, |
| 48 | "no-frame-waits-in-browser-tests": noFrameWaitsInBrowserTests, |
| 49 | "no-global-process-runtime": noGlobalProcessRuntime, |
| 50 | "no-hermes-unsupported-apis": noHermesUnsupportedApis, |
| 51 | "no-hookless-use-function": noHooklessUseFunction, |
| 52 | "no-inline-schema-compile": noInlineSchemaCompile, |
| 53 | "no-low-value-comments": noLowValueComments, |
| 54 | "no-manual-effect-runtime-in-tests": noManualEffectRuntimeInTests, |
| 55 | "no-manual-memo": noManualMemo, |
| 56 | "no-mobile-uniwind-theme-escape-hatches": noMobileUniwindThemeEscapeHatches, |
| 57 | "no-ambiguous-detail-navigation": noAmbiguousDetailNavigation, |
| 58 | "no-mobile-pull-request-glyph-literals": noMobilePullRequestGlyphLiterals, |
| 59 | "no-native-title-tooltip": noNativeTitleTooltip, |
| 60 | "no-sparkles-icon": noSparklesIcon, |
| 61 | "no-unreasoned-state-sync": noUnreasonedStateSync, |
| 62 | "no-untranslated-copy": noUntranslatedCopy, |
| 63 | "require-registered-list-scroll": requireRegisteredListScroll, |
| 64 | "no-outset-state-indicators": noOutsetStateIndicators, |
| 65 | "no-polling-loop-in-tests": noPollingLoopInTests, |
| 66 | "no-raw-mcp-registration": noRawMcpRegistration, |
| 67 | "no-raw-resize-observer": noRawResizeObserver, |
| 68 | "no-real-time-wait-in-tests": noRealTimeWaitInTests, |
| 69 | "no-test-in-loop": noTestInLoop, |
| 70 | "no-test-timeout-or-unreasoned-skip": noTestTimeoutOrUnreasonedSkip, |
| 71 | "no-rpc-permission-bypass": noRpcPermissionBypass, |
| 72 | "no-unscoped-has": noUnscopedHas, |
| 73 | "no-wall-clock-in-tests": noWallClockInTests, |
| 74 | "prefer-catch-tags": preferCatchTags, |
| 75 | "prefer-effect-fn": preferEffectFn, |
| 76 | "require-centered-scroll-gutter": requireCenteredScrollGutter, |
| 77 | "require-disposable-render": requireDisposableRender, |
| 78 | "require-suppression-reason": requireSuppressionReason, |
| 79 | }, |
| 80 | }); |