Skip to content

Commit 53c9f0e

Browse files
committed
Fix linting
Signed-off-by: paulober <[email protected]>
1 parent fe9321f commit 53c9f0e

File tree

5 files changed

+16
-17
lines changed

5 files changed

+16
-17
lines changed

src/commands/switchSDK.mts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
window,
66
workspace,
77
commands,
8-
type WorkspaceFolder,
98
} from "vscode";
109
import type UI from "../ui.mjs";
1110
import { updateVSCodeStaticConfigs } from "../utils/vscodeConfigUtil.mjs";

src/utils/setupZephyr.mts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ import which from "which";
3838
import { stdoutToString, unknownErrorToString } from "./errorHelper.mjs";
3939
import { VALID_ZEPHYR_BOARDS } from "../models/zephyrBoards.mjs";
4040
import type { ITask } from "../models/task.mjs";
41-
import { configureCmakeNinja } from "./cmakeUtil.mjs";
4241
import { getWestConfigValue, updateZephyrBase } from "./westConfig.mjs";
4342
import { addZephyrVariant } from "./westManifest.mjs";
4443
import LastUsedDepsStore from "./lastUsedDeps.mjs";

src/webview/newProjectPanel.mts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import {
33
Uri,
44
window,
55
workspace,
6-
type WebviewOptions,
7-
type OpenDialogOptions,
86
type WebviewPanel,
97
type Disposable,
108
ViewColumn,

src/webview/newRustProjectPanel.mts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ import {
1313
} from "vscode";
1414
import Settings from "../settings.mjs";
1515
import Logger from "../logger.mjs";
16-
import type { WebviewMessage } from "./newProjectPanel.mjs";
17-
import {
18-
getNonce,
19-
getProjectFolderDialogOptions,
20-
getWebviewOptions,
21-
} from "./newProjectPanel.mjs";
2216
import { existsSync } from "fs";
2317
import { join } from "path";
2418
import { unknownErrorToString } from "../utils/errorHelper.mjs";
@@ -27,6 +21,12 @@ import {
2721
installLatestRustRequirements,
2822
} from "../utils/rustUtil.mjs";
2923
import { generateRustProject } from "../utils/projectGeneration/projectRust.mjs";
24+
import {
25+
getNonce,
26+
getProjectFolderDialogOptions,
27+
getWebviewOptions,
28+
} from "./sharedFunctions.mjs";
29+
import type { WebviewMessage } from "./sharedEnums.mjs";
3030

3131
interface SubmitMessageValue {
3232
projectName: string;

src/webview/newZephyrProjectPanel.mts

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ import {
1414
import Settings from "../settings.mjs";
1515
import Logger from "../logger.mjs";
1616
import { compare } from "../utils/semverUtil.mjs";
17-
import type { WebviewMessage } from "./newProjectPanel.mjs";
18-
import {
19-
getNonce,
20-
getProjectFolderDialogOptions,
21-
getWebviewOptions,
22-
} from "./newProjectPanel.mjs";
2317
import { existsSync } from "fs";
2418
import { join } from "path";
2519
import { PythonExtension } from "@vscode/python-extension";
@@ -28,9 +22,18 @@ import { setupZephyr } from "../utils/setupZephyr.mjs";
2822
import { getCmakeReleases, getNinjaReleases } from "../utils/githubREST.mjs";
2923
import { getSystemCmakeVersion } from "../utils/cmakeUtil.mjs";
3024
import { generateZephyrProject } from "../utils/projectGeneration/projectZephyr.mjs";
31-
import { BoardType, type ZephyrSubmitMessageValue } from "./sharedEnums.mjs";
25+
import {
26+
BoardType,
27+
type WebviewMessage,
28+
type ZephyrSubmitMessageValue,
29+
} from "./sharedEnums.mjs";
3230
import { getSystemNinjaVersion } from "../utils/ninjaUtil.mjs";
3331
import { checkGitWithProgress } from "../utils/gitUtil.mjs";
32+
import {
33+
getNonce,
34+
getProjectFolderDialogOptions,
35+
getWebviewOptions,
36+
} from "./sharedFunctions.mjs";
3437

3538
export class NewZephyrProjectPanel {
3639
public static currentPanel: NewZephyrProjectPanel | undefined;

0 commit comments

Comments
 (0)