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

Commit32611b8

Browse files
committed
Set 'alwaysStrict' to true. / Add license header
1 parentaa539cb commit32611b8

19 files changed

+39
-20
lines changed

‎src/commands/cache.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import{leetCodeExecutor}from"../leetCodeExecutor";
45
import{DialogType,promptForOpenOutputChannel}from"../utils/uiUtils";

‎src/commands/list.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asvscodefrom"vscode";
45
import{leetCodeExecutor}from"../leetCodeExecutor";

‎src/commands/plugin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asfsefrom"fs-extra";
45
import*asosfrom"os";

‎src/commands/session.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asvscodefrom"vscode";
45
import{leetCodeExecutor}from"../leetCodeExecutor";

‎src/commands/show.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asfsefrom"fs-extra";
45
import*asvscodefrom"vscode";

‎src/commands/submit.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asvscodefrom"vscode";
45
import{leetCodeExecutor}from"../leetCodeExecutor";

‎src/commands/test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asfsefrom"fs-extra";
45
import*asvscodefrom"vscode";

‎src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asvscodefrom"vscode";
45
import*ascachefrom"./commands/cache";

‎src/leetCodeChannel.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asvscodefrom"vscode";
45

‎src/leetCodeExecutor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*ascpfrom"child_process";
45
import*asopnfrom"opn";

‎src/leetCodeExplorer.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*aspathfrom"path";
45
import*asvscodefrom"vscode";

‎src/leetCodeManager.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*ascpfrom"child_process";
45
import{EventEmitter}from"events";

‎src/leetCodeStatusBarItem.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asvscodefrom"vscode";
45
import{UserStatus}from"./shared";

‎src/shared.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asvscodefrom"vscode";
45

‎src/utils/cpUtils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*ascpfrom"child_process";
45
import*asvscodefrom"vscode";

‎src/utils/uiUtils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asfsefrom"fs-extra";
45
import*asopnfrom"opn";

‎src/utils/workspaceUtils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asosfrom"os";
45
import*aspathfrom"path";

‎src/utils/wslUtils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
"use strict";
1+
// Copyright (c) jdneo. All rights reserved.
2+
// Licensed under the MIT license.
23

34
import*asvscodefrom"vscode";
45
import{executeCommand}from"./cpUtils";

‎tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@
1212
"noImplicitThis":true,
1313
"noImplicitReturns":true,
1414
"strictNullChecks":true,
15-
"noUnusedParameters":true
15+
"noUnusedParameters":true,
16+
"alwaysStrict":true
1617
},
1718
"exclude": [
1819
"node_modules",
1920
".vscode-test"
2021
]
21-
}
22+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp