We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 316d9a6 commit d4f0213Copy full SHA for d4f0213
tooling/eslint/base.ts
@@ -76,17 +76,15 @@ export const baseConfig = defineConfig(
76
],
77
"@typescript-eslint/no-non-null-assertion": "error",
78
"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
- ],
86
},
87
88
{
89
linterOptions: { reportUnusedDisableDirectives: true },
90
- languageOptions: { parserOptions: { projectService: true } },
+ languageOptions: {
+ parserOptions: {
+ projectService: true,
+ tsconfigRootDir: import.meta.dirname,
+ },
91
92
);
0 commit comments