Skip to content

Commit 975b838

Browse files
committed
chore: code cleanup
1 parent 1572395 commit 975b838

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

src/activity.ts

+10-12
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
import {
2-
type Selection,
3-
type TextDocument,
4-
debug,
5-
DiagnosticSeverity,
6-
env,
7-
languages,
8-
workspace,
9-
NotebookDocument,
10-
NotebookRange
11-
} from "vscode";
121
import { resolveLangName, toLower, toTitle, toUpper } from "./helpers/resolveLangName";
132
import { type SetActivity } from "@xhayper/discord-rpc";
143
import { CONFIG_KEYS, FAKE_EMPTY } from "./constants";
@@ -18,7 +7,16 @@ import { isObject } from "./helpers/isObject";
187
import { getConfig } from "./config";
198
import { dataClass } from "./data";
209
import { sep } from "node:path";
21-
import { logInfo } from "./logger";
10+
import {
11+
type Selection,
12+
type TextDocument,
13+
type NotebookDocument,
14+
debug,
15+
DiagnosticSeverity,
16+
env,
17+
languages,
18+
workspace
19+
} from "vscode";
2220

2321
// TODO: move this to data class
2422
export let totalProblems = 0;

src/data.ts

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { logInfo } from "./logger";
77
import {
88
type WorkspaceFolder,
99
type TextEditor,
10+
type NotebookEditor,
1011
type Disposable,
1112
type Extension,
1213
EventEmitter,

0 commit comments

Comments
 (0)