18 lines · 677 B · TypeScript
RawDownload
import { definePlugin } from "@oxlint/plugins"; import namespaceNodeImports from "./rules/namespace-node-imports.ts";import noGlobalProcessRuntime from "./rules/no-global-process-runtime.ts";import noInlineSchemaCompile from "./rules/no-inline-schema-compile.ts";import noManualEffectRuntimeInTests from "./rules/no-manual-effect-runtime-in-tests.ts"; export default definePlugin({  meta: {    name: "t3code",  },  rules: {    "namespace-node-imports": namespaceNodeImports,    "no-global-process-runtime": noGlobalProcessRuntime,    "no-inline-schema-compile": noInlineSchemaCompile,    "no-manual-effect-runtime-in-tests": noManualEffectRuntimeInTests,  },});