This commit is contained in:
Matthew Bessette
2026-03-11 14:12:05 -04:00
parent a3d6b1bb1c
commit b7f268e6de
8 changed files with 38 additions and 4 deletions

31
config.oxlintrc.json Normal file
View File

@@ -0,0 +1,31 @@
{
"plugins": [
"eslint",
"import",
"node",
"oxc",
"promise",
"typescript",
"unicorn"
],
"categories": {
"correctness": "warn",
"suspicious": "error",
"perf": "error"
},
"rules": {
"unicorn/require-module-specifiers": "off",
"eslint/no-restricted-imports": [
"error",
{
"paths": [
{
"name": "zod",
"message": "Use `zod/v4` (legacy `zod` import is disallowed)."
}
]
}
]
}
}