Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"jsx-a11y/role-has-required-aria-props": "off",
"no-unmodified-loop-condition": "off",
"oxc/no-accumulating-spread": "error",
"zod-imports/namespace": "error",
"anti-slop/no-array-filter-map": "error",
"anti-slop/no-reduce-accumulator-copy": "error",
"anti-slop/require-readable-spacing": "error",
Expand Down Expand Up @@ -117,6 +118,10 @@
"name": "canvas-styles",
"specifier": "./tools/oxlint/canvas-styles/index.ts"
},
{
"name": "zod-imports",
"specifier": "./tools/oxlint/zod-imports/index.ts"
},
{
"name": "stylex",
"specifier": "@stylexjs/eslint-plugin"
Expand Down
3 changes: 2 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ review.
`pnpm --filter @dev.fast/review-desktop protocol:sync`. The fork's protocol
copy is generated and gitignored.
- Prefer named static imports from public package entry points over namespace
imports.
imports. zod is the exception: `import * as z from "zod"`, since its `z`
export keeps every locale in a bundle (`zod-imports/namespace` enforces it).

## Agent capability switches

Expand Down
2 changes: 1 addition & 1 deletion diffr/diffr-ts/src/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Defaults are omitted, not null. Lines are zero-based, columns are UTF-8 bytes,
* and ranges are half-open.
*/
import { z } from "zod";
import * as z from "zod";

/** A pairing always has at least one side; additions/deletions omit the other. */
export type StructuralPairing<T> =
Expand Down
Loading
Loading