diff --git a/src/__mocks__/reporter.ts b/src/__mocks__/reporter.ts index 76ffcc3a35..1d6c4ba469 100644 --- a/src/__mocks__/reporter.ts +++ b/src/__mocks__/reporter.ts @@ -1,5 +1,5 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck ignore typ checking in test files +// @ts-nocheck ignore type checking in test files export const reporter = { sendTelemetryEvent: jest.fn(), sendRawTelemetryEvent: jest.fn(), diff --git a/src/__mocks__/serverPath.ts b/src/__mocks__/serverPath.ts index 7682a7ed1d..9bc9098307 100644 --- a/src/__mocks__/serverPath.ts +++ b/src/__mocks__/serverPath.ts @@ -1,5 +1,5 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck ignore typ checking in test files +// @ts-nocheck ignore type checking in test files export const lsPath = { installPath: jest.fn(), stgInstallPath: jest.fn(), diff --git a/src/__mocks__/utils.ts b/src/__mocks__/utils.ts index b6054ca5bd..b34377e116 100644 --- a/src/__mocks__/utils.ts +++ b/src/__mocks__/utils.ts @@ -1,3 +1,3 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck ignore typ checking in test files +// @ts-nocheck ignore type checking in test files export const exec = jest.fn(); diff --git a/src/__mocks__/vscode.ts b/src/__mocks__/vscode.ts index f4687f46f9..db450ebe70 100644 --- a/src/__mocks__/vscode.ts +++ b/src/__mocks__/vscode.ts @@ -1,5 +1,7 @@ -// eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck ignore typ checking in test files +/* eslint-disable @typescript-eslint/no-explicit-any */ +/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ +/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */ +// @ts-nocheck ignore type checking in test files export const languages = { createDiagnosticCollection: jest.fn(), }; diff --git a/src/installer/__mocks__/detector.ts b/src/installer/__mocks__/detector.ts index 66fc4023a0..29e0d8537f 100644 --- a/src/installer/__mocks__/detector.ts +++ b/src/installer/__mocks__/detector.ts @@ -1,5 +1,5 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck ignore typ checking in test files +// @ts-nocheck ignore type checking in test files export const pathExists = jest.fn(() => { return false; }); diff --git a/src/installer/__mocks__/installer.ts b/src/installer/__mocks__/installer.ts index 8af492c312..5b5000e564 100644 --- a/src/installer/__mocks__/installer.ts +++ b/src/installer/__mocks__/installer.ts @@ -1,3 +1,3 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck ignore typ checking in test files +// @ts-nocheck ignore type checking in test files export const installTerraformLS = jest.fn(); diff --git a/src/installer/__mocks__/js-releases.ts b/src/installer/__mocks__/js-releases.ts index 8159a5e079..70abd47752 100644 --- a/src/installer/__mocks__/js-releases.ts +++ b/src/installer/__mocks__/js-releases.ts @@ -1,3 +1,3 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck ignore typ checking in test files +// @ts-nocheck ignore type checking in test files export const getRelease = jest.fn(); diff --git a/src/test/unit/detector.test.ts b/src/test/unit/detector.test.ts index 00856d6fbd..69ad87b3c4 100644 --- a/src/test/unit/detector.test.ts +++ b/src/test/unit/detector.test.ts @@ -1,5 +1,5 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck ignore typ checking in test files +// @ts-nocheck ignore type checking in test files import { getLsVersion, isValidVersionString, getRequiredVersionRelease } from '../../installer/detector'; import { exec } from '../../utils'; import { getRelease } from '@hashicorp/js-releases'; diff --git a/src/test/unit/installer.test.ts b/src/test/unit/installer.test.ts index be183db85c..b3c1b0ede4 100644 --- a/src/test/unit/installer.test.ts +++ b/src/test/unit/installer.test.ts @@ -1,5 +1,5 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck ignore typ checking in test files +// @ts-nocheck ignore type checking in test files import { installTerraformLS } from '../../installer/installer'; import { reporter } from '../../__mocks__/reporter'; import { pathExists } from '../../installer/detector'; diff --git a/src/test/unit/updater.test.ts b/src/test/unit/updater.test.ts index 171cc7adc1..1926ecd2c6 100644 --- a/src/test/unit/updater.test.ts +++ b/src/test/unit/updater.test.ts @@ -1,5 +1,5 @@ // eslint-disable-next-line @typescript-eslint/ban-ts-comment -// @ts-nocheck ignore typ checking in test files +// @ts-nocheck ignore type checking in test files import { updateOrInstall } from '../../installer/updater'; import { workspace } from '../../__mocks__/vscode'; import { lsPath } from '../../__mocks__/serverPath';