Add eslint disable

This commit is contained in:
Jill Regan
2026-06-16 18:12:15 -04:00
parent c407d64237
commit fae3a0184c
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -11,5 +11,6 @@ module.exports = {
debug: jest.fn(),
addPath: jest.fn(),
isDebug: jest.fn(() => false),
getIDToken: jest.fn(() => Promise.resolve("mock-oidc-token")),
// eslint-disable-next-line @typescript-eslint/naming-convention
getIDToken: jest.fn().mockResolvedValue("mock-oidc-token"),
};
+3
View File
@@ -3,9 +3,12 @@ import { createClient } from "@1password/sdk";
import { version } from "../package.json";
import { envManagedVariables } from "./constants";
// Names use the OIDC/SDK acronyms, which break strictCamelCase.
// eslint-disable-next-line @typescript-eslint/naming-convention
export const getOIDCToken = async (audience: string): Promise<string> =>
core.getIDToken(audience);
// eslint-disable-next-line @typescript-eslint/naming-convention
export const loadSecretsFromSDK = async (
workloadId: string,
environmentId: string,