Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit20b52be

Browse files
committed
Fix sorting of type imports
1 parent2c584be commit20b52be

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

‎.eslintrc.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@
8080
],
8181
"pathGroupsExcludedImportTypes": ["builtin","external"],
8282
"newlines-between":"always",
83-
"alphabetize": {"order":"asc","caseInsensitive":true }
83+
"alphabetize": {"order":"asc","caseInsensitive":true },
84+
"sortTypesGroup":true
8485
}
8586
],
8687
// Prevent duplicates and prefer merging into a single import

‎src/inbox.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import*asvscodefrom"vscode";
22

3-
importtype{CoderApi}from"./api/coderApi";
4-
importtype{Logger}from"./logging/logger";
5-
importtype{OneWayWebSocket}from"./websocket/oneWayWebSocket";
63
importtype{
74
Workspace,
85
GetInboxNotificationResponse,
96
}from"coder/site/src/api/typesGenerated";
107

8+
importtype{CoderApi}from"./api/coderApi";
9+
importtype{Logger}from"./logging/logger";
10+
importtype{OneWayWebSocket}from"./websocket/oneWayWebSocket";
11+
1112
// These are the template IDs of our notifications.
1213
// Maybe in the future we should avoid hardcoding
1314
// these in both coderd and here.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp