- Introduce a t3code oxlint plugin and wire it into repo linting - Flag Effect Schema compiler calls inside function bodies - Add fixture-based tests for valid and invalid cases Co-authored-by: codex <[email protected]>
13 lines
263 B
TypeScript
13 lines
263 B
TypeScript
import { definePlugin } from "@oxlint/plugins";
|
|
|
|
import noInlineSchemaCompile from "./rules/no-inline-schema-compile.ts";
|
|
|
|
export default definePlugin({
|
|
meta: {
|
|
name: "t3code",
|
|
},
|
|
rules: {
|
|
"no-inline-schema-compile": noInlineSchemaCompile,
|
|
},
|
|
});
|