Skip to content

Commit dd3e2d9

Browse files
committed
Remove use strict directives in extension code
We compile with alwaysStrict so these directives are not needed
1 parent 4c8e61c commit dd3e2d9

32 files changed

Lines changed: 0 additions & 64 deletions

extensions/debug-auto-launch/src/extension.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import * as vscode from 'vscode';
97
import * as nls from 'vscode-nls';
108

extensions/emmet/src/bufferStream.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
/* Based on @sergeche's work in his emmet plugin */
77

8-
'use strict';
9-
108
import { TextDocument, Position, Range, EndOfLine } from 'vscode';
119

1210
/**

extensions/emmet/src/imageSizeHelper.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
// Based on @sergeche's work on the emmet plugin for atom
77
// TODO: Move to https://github.com/emmetio/image-size
88

9-
'use strict';
10-
119
import * as path from 'path';
1210
import * as http from 'http';
1311
import * as https from 'https';

extensions/emmet/src/test/testUtils.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import * as vscode from 'vscode';
97
import * as fs from 'fs';
108
import * as os from 'os';

extensions/emmet/src/updateImageSize.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
// Based on @sergeche's work on the emmet plugin for atom
77

8-
'use strict';
9-
108
import { TextEditor, Range, Position, window, TextEdit } from 'vscode';
119
import * as path from 'path';
1210
import { getImageSize } from './imageSizeHelper';

extensions/extension-editing/src/extension.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import * as vscode from 'vscode';
97
import * as ts from 'typescript';
108
import { PackageDocument } from './packageDocumentHelper';

extensions/git/src/api/api1.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import { Model } from '../model';
97
import { Repository as BaseRepository, Resource } from '../repository';
108
import { InputBox, Git, API, Repository, Remote, RepositoryState, Branch, Ref, Submodule, Commit, Change, RepositoryUIState } from './git';

extensions/git/src/api/extension.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import { Model } from '../model';
97
import { GitExtension, Repository, API } from './git';
108
import { ApiRepository, ApiImpl } from './api1';

extensions/git/src/askpass-main.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import * as http from 'http';
97
import * as fs from 'fs';
108
import * as nls from 'vscode-nls';

extensions/git/src/askpass.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
'use strict';
7-
86
import { Disposable, window, InputBoxOptions } from 'vscode';
97
import { denodeify } from './util';
108
import * as path from 'path';

0 commit comments

Comments
 (0)