Skip to content

Commit b92cf64

Browse files
Bump the typescript-eslint group with 2 updates (#802)
* Bump the typescript-eslint group with 2 updates Bumps the typescript-eslint group with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@typescript-eslint/eslint-plugin` from 7.18.0 to 8.0.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 7.18.0 to 8.0.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.0.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-major dependency-group: typescript-eslint - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-major dependency-group: typescript-eslint ... Signed-off-by: dependabot[bot] <[email protected]> * Address lint errors and adjust some lint rules Signed-off-by: David Thompson <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: David Thompson <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Thompson <[email protected]>
1 parent 7f7c70c commit b92cf64

File tree

11 files changed

+73
-74
lines changed

11 files changed

+73
-74
lines changed

.eslintrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,14 @@
1919
"@typescript-eslint/no-unused-vars": [
2020
"warn",
2121
{
22-
"argsIgnorePattern": "^_"
22+
"argsIgnorePattern": "^_",
23+
"caughtErrorsIgnorePattern": "^_"
2324
}
2425
],
2526
"@typescript-eslint/no-namespace": "off",
2627
"@typescript-eslint/no-explicit-any": "off",
2728
"@typescript-eslint/no-empty-function": "off",
29+
"@typescript-eslint/no-unused-expressions": "off",
2830
"@typescript-eslint/no-non-null-assertion": "off",
2931
"no-inner-declarations": "off"
3032
},

package-lock.json

Lines changed: 56 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,8 @@
454454
"@types/vscode": "^1.82.0",
455455
"@types/which": "^3.0.4",
456456
"@types/yauzl": "^2.10.3",
457-
"@typescript-eslint/eslint-plugin": "^7.18.0",
458-
"@typescript-eslint/parser": "^7.18.0",
457+
"@typescript-eslint/eslint-plugin": "^8.0.0",
458+
"@typescript-eslint/parser": "^8.0.0",
459459
"axios": "^1.6.7",
460460
"chai": "^4.5.0",
461461
"chai-fs": "^2.0.0",

src/test/vscodeTest/runTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async function main() {
1414

1515
// Download VS Code, unzip it and run the integration test
1616
await runTests({ extensionDevelopmentPath, extensionTestsPath });
17-
} catch (err) {
17+
} catch (_err) {
1818
console.error('Failed to run tests');
1919
process.exit(1);
2020
}

src/test/vscodeUiTest/ProjectGenerationWizard.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export class ProjectGenerationWizard extends InputBox {
154154
try {
155155
const backButton: WebElement = await enclosing.findElement(By.className(backButtonClass));
156156
return backButton;
157-
} catch (e) {
157+
} catch (_e) {
158158
return undefined;
159159
}
160160
}
@@ -259,13 +259,13 @@ export class ProjectGenerationWizard extends InputBox {
259259

260260
try {
261261
result.detail = await this.getStringFromChildElementByClassName(quickPickItem, 'quick-input-list-label-meta');
262-
} catch (e) {
262+
} catch (_e) {
263263
// there is no vscode.QuickPickItem.detail for this quick pick item
264264
}
265265

266266
try {
267267
result.description = await this.getStringFromChildElementByClassName(quickPickItem, 'label-description');
268-
} catch (e) {
268+
} catch (_e) {
269269
// there is no vscode.QuickPickItem.description for this quick pick item
270270
}
271271
return result;

src/test/vscodeUiTest/suite/projectGenerationTest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ async function wizardExists(): Promise<boolean> {
560560
const enclosing: WebElement = input.getEnclosingElement();
561561
const title: WebElement = await enclosing.findElement(By.className('quick-input-title'));
562562
return (await title.getText()).includes('Quarkus Tools');
563-
} catch (e) {
563+
} catch (_e) {
564564
return false;
565565
}
566566
}

src/utils/requestUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function tryGetExtensionsJSON(apiUrl: string): Promise<APIExtension[]> {
4646
timeout: 30_000,
4747
});
4848
return response.data;
49-
} catch (err) {
49+
} catch (_err) {
5050
throw `Unable to reach ${apiUrl}`;
5151
}
5252
}
@@ -92,7 +92,7 @@ async function tryGetProjectBuffer(projectUrl: string): Promise<Buffer> {
9292
responseType: 'arraybuffer',
9393
});
9494
return response.data as Buffer;
95-
} catch (err) {
95+
} catch (_err) {
9696
throw 'Unable to download Quarkus project.';
9797
}
9898
}

src/utils/shellUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ function toDefaultWslPath(p: string): string {
9292
async function toWslPath(path: string): Promise<string> {
9393
try {
9494
return (await executeCommand("wsl", ["wslpath", "-u", `"${path.replace(/\\/g, "/")}"`])).trim();
95-
} catch (error) {
95+
} catch (_error) {
9696
return toDefaultWslPath(path);
9797
}
9898
}

src/wizards/binary/buildBinary.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { BuildSupport } from "../../buildSupport/BuildSupport";
2020
import { ProjectLabelInfo } from "../../definitions/ProjectLabelInfo";
2121
import { TaskCreator } from "../debugging/TaskCreator";
2222
import { getQuarkusProject } from "../getQuarkusProject";
23-
import which = require("which");
23+
import * as which from "which";
2424

2525
const NATIVE_IMAGE_DOCS_URI: Uri = Uri.parse('https://quarkus.io/guides/building-native-image');
2626

@@ -93,7 +93,7 @@ function pathFromEnvHasNativeImage(envVarValue: string | undefined): boolean {
9393
async function hasNativeImageOnPath(): Promise<boolean> {
9494
try {
9595
return !! await which('native-image');
96-
} catch (e) {
96+
} catch (_e) {
9797
return false;
9898
}
9999
}

src/wizards/debugging/terminateProcess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function createTerminateDebugListener(): Disposable {
3232
try {
3333
checkHasPreLaunchTask(debugSession);
3434
quarkusDevTaskExe = await getPreLaunchTaskExecution(debugSession);
35-
} catch (message) {
35+
} catch (_message) {
3636
// debugger for a non Quarkus project has terminated
3737
// don't display an error message
3838
return;

0 commit comments

Comments
 (0)