Applied ast-grep rule to convert named zod imports to namespace imports across the api-contract package for consistency. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
14 lines
245 B
YAML
14 lines
245 B
YAML
id: zod-namespace-import
|
|
valid:
|
|
- |
|
|
import * as z from "zod";
|
|
- |
|
|
import * as z from "zod";
|
|
const schema = z.object({ name: z.string() });
|
|
|
|
invalid:
|
|
- |
|
|
import { z } from "zod";
|
|
- |
|
|
import { z, ZodError } from "zod";
|