File tree Expand file tree Collapse file tree 9 files changed +11
-11
lines changed Expand file tree Collapse file tree 9 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ function showInner(
75
75
if ( index >= 0 ) {
76
76
toggleSelection ( items [ index ] ) ;
77
77
} else {
78
- // tslint: disable-next-line: no-console
78
+ // eslint- disable-next-line no-console
79
79
console . log ( `Couldn't find CheckboxQuickPickItem for label '${ selection . label } '` ) ;
80
80
}
81
81
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ class PowerShellContentProvider implements vscode.TextDocumentContentProvider {
74
74
private viewIndex : { [ id : string ] : CustomView } = { } ;
75
75
private didChangeEvent : vscode . EventEmitter < vscode . Uri > = new vscode . EventEmitter < vscode . Uri > ( ) ;
76
76
77
- // tslint: disable-next-line: member-ordering
77
+ // eslint- disable-next-line @typescript-eslint/ member-ordering
78
78
public onDidChange : vscode . Event < vscode . Uri > = this . didChangeEvent . event ;
79
79
80
80
public provideTextDocumentContent ( uri : vscode . Uri ) : string {
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ export const GetEditorContextRequestType =
93
93
new RequestType < IGetEditorContextRequestArguments , IEditorContext , void > (
94
94
"editor/getEditorContext" ) ;
95
95
96
- // tslint: disable-next-line: no-empty-interface
96
+ // eslint- disable-next-line @typescript-eslint/ no-empty-interface
97
97
export interface IGetEditorContextRequestArguments {
98
98
}
99
99
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ export class Logger implements ILogger {
187
187
timestampedMessage + os . EOL ,
188
188
( err ) => {
189
189
if ( err ) {
190
- // tslint: disable-next-line: no-console
190
+ // eslint- disable-next-line no-console
191
191
console . log ( `Error writing to vscode-powershell log file: ${ err } ` ) ;
192
192
}
193
193
} ) ;
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ import { PowerShellLanguageId } from "./utils";
35
35
import { LanguageClientConsumer } from "./languageClientConsumer" ;
36
36
37
37
// The most reliable way to get the name and version of the current extension.
38
- // tslint: disable-next-line: no-var-requires
38
+ // eslint- disable-next-line @typescript-eslint/ no-var-requires
39
39
const PackageJSON : any = require ( "../../package.json" ) ;
40
40
41
41
// the application insights key (also known as instrumentation key) used for telemetry.
Original file line number Diff line number Diff line change @@ -776,7 +776,7 @@ class SessionMenuItem implements vscode.QuickPickItem {
776
776
777
777
constructor (
778
778
public readonly label : string ,
779
- // tslint: disable-next-line: no-empty
779
+ // eslint- disable-next-line no-empty, @typescript-eslint/no-empty-function
780
780
public readonly callback : ( ) => void = ( ) => { } ) {
781
781
}
782
782
}
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ export function load(): ISettings {
264
264
notebooks :
265
265
configuration . get < INotebooksSettings > ( "notebooks" , defaultNotebooksSettings ) ,
266
266
startAsLoginShell :
267
- // tslint: disable-next-line
267
+ // eslint- disable-next-line
268
268
// We follow the same convention as VS Code - https://github.com/microsoft/vscode/blob/ff00badd955d6cfcb8eab5f25f3edc86b762f49f/src/vs/workbench/contrib/terminal/browser/terminal.contribution.ts#L105-L107
269
269
// "Unlike on Linux, ~/.profile is not sourced when logging into a macOS session. This
270
270
// is the reason terminals on macOS typically run login shells by default which set up
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import * as vscode from "vscode";
6
6
import { before , beforeEach , afterEach } from "mocha" ;
7
7
import { IExternalPowerShellDetails , IPowerShellExtensionClient } from "../../src/features/ExternalApi" ;
8
8
9
- // tslint: disable-next-line: no-var-requires
9
+ // eslint- disable-next-line @typescript-eslint/ no-var-requires
10
10
const PackageJSON : any = require ( "../../../package.json" ) ;
11
11
const testExtensionId = `${ PackageJSON . publisher } .${ PackageJSON . name } ` ;
12
12
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import * as path from "path";
5
5
6
6
import { runTests } from "vscode-test" ;
7
7
8
- // tslint: disable-next-line: no-var-requires
8
+ // eslint- disable-next-line @typescript-eslint/ no-var-requires
9
9
const PackageJSON : any = require ( "../../package.json" ) ;
10
10
const testExtensionId = `${ PackageJSON . publisher } .${ PackageJSON . name } ` ;
11
11
@@ -31,9 +31,9 @@ async function main() {
31
31
version : "insiders"
32
32
} ) ;
33
33
} catch ( err ) {
34
- // tslint: disable-next-line: no-console
34
+ // eslint- disable-next-line no-console
35
35
console . error ( err ) ;
36
- // tslint: disable-next-line: no-console
36
+ // eslint- disable-next-line no-console
37
37
console . error ( "Failed to run tests" ) ;
38
38
process . exit ( 1 ) ;
39
39
}
You can’t perform that action at this time.
0 commit comments