Skip to content

Commit 4b225b6

Browse files
committed
chore: lint fixes and unused parameter cleanup
1 parent 57f4579 commit 4b225b6

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

coverage/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ <h1>All files</h1>
146146
<div class='footer quiet pad2 space-top1 center small'>
147147
Code coverage generated by
148148
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
149-
at 2025-10-14T13:16:47.054Z
149+
at 2025-10-14T14:10:39.613Z
150150
</div>
151151
<script src="prettify.js"></script>
152152
<script>

src/commands/help.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
import * as vscode from "vscode";
2-
import type { Notifier, StatusBar } from "../types";
1+
import * as vscode from 'vscode';
2+
import type { Notifier, StatusBar } from '../types';
33

44
export function registerHelpCommand(
5-
context: vscode.ExtensionContext,
6-
deps: Readonly<{
7-
notifier: Notifier;
8-
statusBar: StatusBar;
9-
}>
5+
context: vscode.ExtensionContext,
6+
_deps: Readonly<{
7+
notifier: Notifier;
8+
statusBar: StatusBar;
9+
}>,
1010
): void {
11-
const command = vscode.commands.registerCommand(
12-
"scrape-le.help",
13-
async () => {
14-
const helpText = `
11+
const command = vscode.commands.registerCommand(
12+
'scrape-le.help',
13+
async () => {
14+
const helpText = `
1515
# Scrape-LE Help & Troubleshooting
1616
1717
## Commands
@@ -162,13 +162,13 @@ Key settings:
162162
- Documentation: https://github.com/nolindnaidoo/scrape-le#readme
163163
`.trim();
164164

165-
const doc = await vscode.workspace.openTextDocument({
166-
content: helpText,
167-
language: "markdown",
168-
});
169-
await vscode.window.showTextDocument(doc);
170-
}
171-
);
165+
const doc = await vscode.workspace.openTextDocument({
166+
content: helpText,
167+
language: 'markdown',
168+
});
169+
await vscode.window.showTextDocument(doc);
170+
},
171+
);
172172

173-
context.subscriptions.push(command);
173+
context.subscriptions.push(command);
174174
}

src/commands/index.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
/**
22
* Command registration index for Scrape-LE
33
*/
4-
import type * as vscode from "vscode";
5-
import type { Notifier, StatusBar } from "../types";
6-
import { registerCheckUrlCommand } from "./check";
7-
import { registerCheckSelectionCommand } from "./checkSelection";
8-
import { registerHelpCommand } from "./help";
9-
import { registerSetupCommand } from "./setup";
4+
import type * as vscode from 'vscode';
5+
import type { Notifier, StatusBar } from '../types';
6+
import { registerCheckUrlCommand } from './check';
7+
import { registerCheckSelectionCommand } from './checkSelection';
8+
import { registerHelpCommand } from './help';
9+
import { registerSetupCommand } from './setup';
1010

1111
/**
1212
* Registers all extension commands
1313
*/
1414
export function registerCommands(
15-
context: vscode.ExtensionContext,
16-
deps: Readonly<{
17-
notifier: Notifier;
18-
statusBar: StatusBar;
19-
}>
15+
context: vscode.ExtensionContext,
16+
deps: Readonly<{
17+
notifier: Notifier;
18+
statusBar: StatusBar;
19+
}>,
2020
): void {
21-
registerCheckUrlCommand(context, deps);
22-
registerCheckSelectionCommand(context, deps);
23-
registerSetupCommand(context);
24-
registerHelpCommand(context, deps);
21+
registerCheckUrlCommand(context, deps);
22+
registerCheckSelectionCommand(context, deps);
23+
registerSetupCommand(context);
24+
registerHelpCommand(context, deps);
2525
}

0 commit comments

Comments
 (0)