mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
web: Switch to Zod mini API.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
cb28bff831
commit
a29ed94e5b
@@ -84,6 +84,10 @@ export default tseslint.config(
|
||||
"@typescript-eslint/no-loop-func": "error",
|
||||
"@typescript-eslint/no-misused-spread": "off",
|
||||
"@typescript-eslint/no-non-null-assertion": "off",
|
||||
"@typescript-eslint/no-restricted-imports": [
|
||||
"error",
|
||||
{paths: [{name: "zod", message: "Use zod/mini."}]},
|
||||
],
|
||||
"@typescript-eslint/no-unnecessary-condition": "off",
|
||||
"@typescript-eslint/no-unnecessary-qualifier": "error",
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
|
Reference in New Issue
Block a user