fix(ci): unblock CI lint by allowing any in OIDC/OAuth test files
The OIDC and OAuth test files (added in #1056) inspect the dynamic NextAuth provider object and use `any` for ergonomic property access. That trips @typescript-eslint/no-explicit-any (error level), which has been failing CI on main since 2026-05-02. Add a file-level eslint-disable for that rule in both test files. This is the standard pattern for tests that poke runtime-shaped objects, and keeps the rule strict everywhere else. Local: npm run lint -> 0 errors, npm test -> 709/709 passing. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any -- tests inspect the dynamic NextAuth provider object */
|
||||
import { describe, it, expect, beforeEach, afterEach } from "vitest";
|
||||
import { oauthPlugin } from "@/lib/plugins/auth/oauth";
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any -- tests inspect the dynamic NextAuth provider object */
|
||||
import { describe, it, expect, beforeEach, afterEach } from "vitest";
|
||||
import { oidcPlugin } from "@/lib/plugins/auth/oidc";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user