Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
xhayper committed Oct 23, 2022
1 parent 1572395 commit 975b838
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
22 changes: 10 additions & 12 deletions src/activity.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
import {
type Selection,
type TextDocument,
debug,
DiagnosticSeverity,
env,
languages,
workspace,
NotebookDocument,
NotebookRange
} from "vscode";
import { resolveLangName, toLower, toTitle, toUpper } from "./helpers/resolveLangName";
import { type SetActivity } from "@xhayper/discord-rpc";
import { CONFIG_KEYS, FAKE_EMPTY } from "./constants";
Expand All @@ -18,7 +7,16 @@ import { isObject } from "./helpers/isObject";
import { getConfig } from "./config";
import { dataClass } from "./data";
import { sep } from "node:path";
import { logInfo } from "./logger";
import {
type Selection,
type TextDocument,
type NotebookDocument,
debug,
DiagnosticSeverity,
env,
languages,
workspace
} from "vscode";

// TODO: move this to data class
export let totalProblems = 0;
Expand Down
1 change: 1 addition & 0 deletions src/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { logInfo } from "./logger";
import {
type WorkspaceFolder,
type TextEditor,
type NotebookEditor,
type Disposable,
type Extension,
EventEmitter,
Expand Down

0 comments on commit 975b838

Please sign in to comment.