fix(#411): resolve CI lint errors — prettier, unused directives, no-base-to-string
Some checks failed
ci/woodpecker/push/web Pipeline failed
ci/woodpecker/push/api Pipeline was successful

- auth.config.ts: collapse multiline template literal to single line
- auth.controller.ts: add eslint-disable for intentional no-unnecessary-condition
- auth.service.ts: remove 5 unused eslint-disable directives (Node 24 resolves
  BetterAuth types), fix prettier formatting, fix no-base-to-string
- login/page.tsx: remove unnecessary String() wrapper
- auth-context.test.tsx: fix prettier line length

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jason Woltje
2026-02-16 17:00:01 -06:00
parent b96e2d7dc6
commit 9d3a673e6c
5 changed files with 9 additions and 18 deletions

View File

@@ -330,7 +330,9 @@ describe("AuthContext", (): void => {
// An Error that doesn't match any known pattern (parseAuthError returns "unknown")
// should fall through to the instanceof Error catch-all and return "backend"
vi.mocked(apiGet).mockRejectedValueOnce(new Error("Something completely unexpected happened"));
vi.mocked(apiGet).mockRejectedValueOnce(
new Error("Something completely unexpected happened")
);
render(
<AuthProvider>