Open History to see the last commit
1import { definePlugin } from "@oxlint/plugins";
2
3import namespaceNodeImports from "./rules/namespace-node-imports.ts";
4import noGlobalProcessRuntime from "./rules/no-global-process-runtime.ts";
5import noHermesUnsupportedApis from "./rules/no-hermes-unsupported-apis.ts";
6import noInlineSchemaCompile from "./rules/no-inline-schema-compile.ts";
7import noManualEffectRuntimeInTests from "./rules/no-manual-effect-runtime-in-tests.ts";
8import noMobileUniwindThemeEscapeHatches from "./rules/no-mobile-uniwind-theme-escape-hatches.ts";
9import noNativeTitleTooltip from "./rules/no-native-title-tooltip.ts";
10import noTestInLoop from "./rules/no-test-in-loop.ts";
11
12export default definePlugin({
13 meta: {
14 name: "t3code",
15 },
16 rules: {
17 "namespace-node-imports": namespaceNodeImports,
18 "no-global-process-runtime": noGlobalProcessRuntime,
19 "no-hermes-unsupported-apis": noHermesUnsupportedApis,
20 "no-inline-schema-compile": noInlineSchemaCompile,
21 "no-manual-effect-runtime-in-tests": noManualEffectRuntimeInTests,
22 "no-mobile-uniwind-theme-escape-hatches": noMobileUniwindThemeEscapeHatches,
23 "no-native-title-tooltip": noNativeTitleTooltip,
24 "no-test-in-loop": noTestInLoop,
25 },
26});