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

Commit68e0dd5

Browse files
committed
update src linting
1 parent1599b1c commit68e0dd5

File tree

15 files changed

+14
-21
lines changed

15 files changed

+14
-21
lines changed

‎src/actions/setupActions.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ import * as T from 'typings'
22
import*asGfrom'typings/graphql'
33
import*asvscodefrom'vscode'
44
import*asgitfrom'../services/git'
5-
6-
importopenFilesfrom'./utils/openFiles'
75
importloadWatchersfrom'./utils/loadWatchers'
6+
importopenFilesfrom'./utils/openFiles'
87
importrunCommandsfrom'./utils/runCommands'
98

109
constsetupActions=async(

‎src/actions/tutorialConfig.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import*asTfrom'typings'
22
import*asGfrom'typings/graphql'
33
import*asvscodefrom'vscode'
4-
import*asgitfrom'../services/git'
5-
importlanguageMapfrom'../editor/languageMap'
64
import{COMMANDS}from'../editor/commands'
5+
importlanguageMapfrom'../editor/languageMap'
6+
import*asgitfrom'../services/git'
77

88
interfaceTutorialConfigParams{
99
config:G.TutorialConfig

‎src/actions/utils/loadWatchers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import*asvscodefrom'vscode'
21
import*aschokidarfrom'chokidar'
2+
import*asvscodefrom'vscode'
33
import{COMMANDS}from'../../editor/commands'
44

55
// NOTE: vscode createFileWatcher doesn't seem to detect changes outside of vscode

‎src/channel/context.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import*asCRfrom'typings'
22
import*asGfrom'typings/graphql'
33
import*asvscodefrom'vscode'
4-
54
importPositionfrom'./state/Position'
65
importProgressfrom'./state/Progress'
76
importTutorialfrom'./state/Tutorial'

‎src/channel/index.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import*asTfrom'typings'
22
import*asGfrom'typings/graphql'
33
import*asvscodefrom'vscode'
4-
5-
importContextfrom'./context'
6-
importtutorialConfigfrom'../actions/tutorialConfig'
4+
importsaveCommitfrom'../actions/saveCommit'
75
importsetupActionsfrom'../actions/setupActions'
86
importsolutionActionsfrom'../actions/solutionActions'
9-
importsaveCommitfrom'../actions/saveCommit'
7+
importtutorialConfigfrom'../actions/tutorialConfig'
108
import{COMMANDS}from'../editor/commands'
9+
importContextfrom'./context'
1110

1211
interfaceChannel{
1312
receive(action:T.Action):Promise<void>

‎src/channel/state/Progress.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import*asCRfrom'typings'
22
import*asGfrom'typings/graphql'
33
import*asvscodefrom'vscode'
4-
54
importStoragefrom'../../services/storage'
65

76
constdefaultValue:CR.Progress={

‎src/channel/state/Tutorial.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import*asGfrom'typings/graphql'
22
import*asvscodefrom'vscode'
3-
43
importStoragefrom'../../services/storage'
54

65
// Tutorial

‎src/editor/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import*asGfrom'typings/graphql'
22
import*asvscodefrom'vscode'
3-
importcreateWebViewfrom'../webview'
43
importcreateTestRunner,{Payload}from'../services/testRunner'
4+
importcreateWebViewfrom'../webview'
55

66
exportconstCOMMANDS={
77
START:'coderoad.start',

‎src/services/git/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export async function version(): Promise<string | boolean> {
7171
constmatch=stdout.match(/^gitversion(\d+\.)?(\d+\.)?(\*|\d+)/)
7272
if(match){
7373
// eslint-disable-next-line
74-
const[_,major,minor,patch]=match
74+
const[_,major,minor,patch]=match
7575
return`${major}${minor}${patch}`
7676
}
7777
}

‎src/services/node/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import{execascpExec}from'child_process'
12
import*asfsfrom'fs'
23
import{join}from'path'
3-
import{execascpExec}from'child_process'
44
import{promisify}from'util'
55
import*asvscodefrom'vscode'
66

‎src/services/testRunner/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
importnodefrom'../../services/node'
21
import{getOutputChannel}from'../../editor/outputChannel'
2+
importnodefrom'../../services/node'
33
importparserfrom'./parser'
4-
import{throttle,debounce}from'./throttle'
4+
import{debounce,throttle}from'./throttle'
55

66
exportinterfacePayload{
77
stepId:string

‎src/test/runTest.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import*aspathfrom'path'
2-
32
import{runTests}from'vscode-test'
43

54
asyncfunctionmain(){

‎src/webview/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import{Action}from'typings'
21
import*aspathfrom'path'
2+
import{Action}from'typings'
33
import*asvscodefrom'vscode'
44
importChannelfrom'../channel'
55
importrenderfrom'./render'

‎src/webview/render.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import{JSDOM}from'jsdom'
2-
import*asvscodefrom'vscode'
32
import*aspathfrom'path'
3+
import*asvscodefrom'vscode'
44

55
constgetNonce=():string=>{
66
lettext=''

‎typings/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
importStoragefrom'../src/services/storage'
21
import*asGfrom'./graphql'
32

43
exporttypeProgressStatus='ACTIVE'|'COMPLETE'|'INCOMPLETE'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp