Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix sorting of type imports
  • Loading branch information
EhabY committed Oct 1, 2025
commit 20b52bea2ce39c746b792e70f403192e46ccc67e
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@
],
"pathGroupsExcludedImportTypes": ["builtin", "external"],
"newlines-between": "always",
"alphabetize": { "order": "asc", "caseInsensitive": true }
"alphabetize": { "order": "asc", "caseInsensitive": true },
"sortTypesGroup": true
}
],
// Prevent duplicates and prefer merging into a single import
Expand Down
7 changes: 4 additions & 3 deletions src/inbox.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import * as vscode from "vscode";

import type { CoderApi } from "./api/coderApi";
import type { Logger } from "./logging/logger";
import type { OneWayWebSocket } from "./websocket/oneWayWebSocket";
import type {
Workspace,
GetInboxNotificationResponse,
} from "coder/site/src/api/typesGenerated";

import type { CoderApi } from "./api/coderApi";
import type { Logger } from "./logging/logger";
import type { OneWayWebSocket } from "./websocket/oneWayWebSocket";

// These are the template IDs of our notifications.
// Maybe in the future we should avoid hardcoding
// these in both coderd and here.
Expand Down