Skip to content

Commit d4f0213

Browse files
chore: nit lint fixes
1 parent 316d9a6 commit d4f0213

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

tooling/eslint/base.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,15 @@ export const baseConfig = defineConfig(
7676
],
7777
"@typescript-eslint/no-non-null-assertion": "error",
7878
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
79-
"no-restricted-imports": [
80-
"error",
81-
{
82-
name: "zod",
83-
message: "Use `import { z } from 'zod/v4'` instead to ensure v4.",
84-
},
85-
],
8679
},
8780
},
8881
{
8982
linterOptions: { reportUnusedDisableDirectives: true },
90-
languageOptions: { parserOptions: { projectService: true } },
83+
languageOptions: {
84+
parserOptions: {
85+
projectService: true,
86+
tsconfigRootDir: import.meta.dirname,
87+
},
88+
},
9189
},
9290
);

0 commit comments

Comments
 (0)